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 | |
parent | 91de2648e948fc9163e16b2babd9e7e808bde94c (diff) | |
download | mtk-20170518-93e9a71538c18a979c4999b1d54dd64e59e967ac.zip mtk-20170518-93e9a71538c18a979c4999b1d54dd64e59e967ac.tar.gz mtk-20170518-93e9a71538c18a979c4999b1d54dd64e59e967ac.tar.bz2 |
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')
-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 40e1796..d3e0242 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 |