From ce2fd1dbc9c040fd2372ceca0a98f329376f4a38 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 27 May 2012 17:09:50 +0000
Subject: ramips: make rt2x00 firmware extraction quiet

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 02bdfa346..d93e60a9a 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -17,7 +17,7 @@ rt2x00_eeprom_extract() {
 	[ -n "$mtd" ] || \
 		rt2x00_eeprom_die "no mtd device found for partition $part"
 
-	dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count || \
+	dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count 2>/dev/null || \
 		rt2x00_eeprom_die "failed to extract from $mtd"
 }
 
-- 
cgit v1.2.3