aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-25 08:34:55 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-25 08:34:55 +0000
commit3b4cd0a50e56e34fb380ed91beebd7a8a4842a91 (patch)
treeec6a098e2b094644a815a3bf360653e07ad3faab /target/linux/ramips/base-files
parent944e1ee1684ca46d7bef0e5c1ac544ac1b70dfaf (diff)
downloadupstream-3b4cd0a50e56e34fb380ed91beebd7a8a4842a91.tar.gz
upstream-3b4cd0a50e56e34fb380ed91beebd7a8a4842a91.tar.bz2
upstream-3b4cd0a50e56e34fb380ed91beebd7a8a4842a91.zip
base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom3
1 files changed, 2 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 40e17968cd..d3e0242355 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
@@ -21,7 +21,8 @@ rt2x00_eeprom_extract() {
rt2x00_eeprom_die "failed to extract from $mtd"
}
-[ -e /lib/firmware/$FIRMWARE ] && exit 0
+FW="/lib/firmware/$FIRMWARE"
+[ -e "$FW" ] && exit 0
. /lib/ramips.sh