summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/hotplug.d/firmware
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:50 +0000
commit7f5bec0642ab49d14dc22d4957a9c7b11d8884a0 (patch)
treefd2806c4acca90d8a008882df231818225c6c62f /target/linux/ramips/base-files/etc/hotplug.d/firmware
parent86dad96fd05c267b89b5e254b5bda6eba99b679b (diff)
downloadmtk-20170518-7f5bec0642ab49d14dc22d4957a9c7b11d8884a0.zip
mtk-20170518-7f5bec0642ab49d14dc22d4957a9c7b11d8884a0.tar.gz
mtk-20170518-7f5bec0642ab49d14dc22d4957a9c7b11d8884a0.tar.bz2
ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
Diffstat (limited to 'target/linux/ramips/base-files/etc/hotplug.d/firmware')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
1 files changed, 1 insertions, 1 deletions
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 02bdfa3..d93e60a 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"
}