ramips: make rt2x00 firmware extraction quiet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
54d14f8850
commit
ee236b9e96
|
@ -17,7 +17,7 @@ rt2x00_eeprom_extract() {
|
||||||
[ -n "$mtd" ] || \
|
[ -n "$mtd" ] || \
|
||||||
rt2x00_eeprom_die "no mtd device found for partition $part"
|
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"
|
rt2x00_eeprom_die "failed to extract from $mtd"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue