diff options
author | John Crispin <john@openwrt.org> | 2013-11-25 08:34:55 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-11-25 08:34:55 +0000 |
commit | 93e9a71538c18a979c4999b1d54dd64e59e967ac (patch) | |
tree | b0e9a6a8337202f2ac3f2d0cb268b57547a1d0f1 /target/linux/ramips/base-files/etc/hotplug.d | |
parent | 91de2648e948fc9163e16b2babd9e7e808bde94c (diff) | |
download | upstream-93e9a71538c18a979c4999b1d54dd64e59e967ac.tar.gz upstream-93e9a71538c18a979c4999b1d54dd64e59e967ac.tar.bz2 upstream-93e9a71538c18a979c4999b1d54dd64e59e967ac.zip |
base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909
Diffstat (limited to 'target/linux/ramips/base-files/etc/hotplug.d')
-rw-r--r-- | target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 3 |
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 |