base-files: allow users to delect debug level during boot
[openwrt.git] / target / linux / ramips / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 40e1796..d3e0242 100644 (file)
@@ -21,7 +21,8 @@ rt2x00_eeprom_extract() {
                rt2x00_eeprom_die "failed to extract from $mtd"
 }
 
                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
 
 
 . /lib/ramips.sh