aboutsummaryrefslogtreecommitdiffstats
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
commitee236b9e969b80139236b3d9eff2fc1c8f0dada6 (patch)
tree7ac0e6155997894b4436b3b95bcfa62cf95311b1
parent54d14f8850466bb81071416d2bc41c5f4692255a (diff)
downloadupstream-ee236b9e969b80139236b3d9eff2fc1c8f0dada6.tar.gz
upstream-ee236b9e969b80139236b3d9eff2fc1c8f0dada6.tar.bz2
upstream-ee236b9e969b80139236b3d9eff2fc1c8f0dada6.zip
ramips: make rt2x00 firmware extraction quiet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 02bdfa346d..d93e60a9a6 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"
}