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)
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

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"
 }