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 02bdfa346dc09d48b9b1d95777a500e3e292226c..d93e60a9a6fb0cef2a8417a8f5e72b7ea51fa6fe 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"
 }