ramips: make rt2x00 firmware extraction quiet
authorGabor Juhos <juhosg@openwrt.org>
Sun, 27 May 2012 17:09:50 +0000 (17:09 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 27 May 2012 17:09:50 +0000 (17:09 +0000)
SVN-Revision: 31918

target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

index 02bdfa3..d93e60a 100644 (file)
@@ -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"
 }