mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2811523f2c
commit
bc014cb9cd
@ -61,7 +61,7 @@ set_state() {
|
||||
status_led_set_timer 50 50
|
||||
;;
|
||||
done)
|
||||
if [ "${status_led#power}" != "$status_led" ]; then
|
||||
if [ "${status_led/power}" != "$status_led" ]; then
|
||||
status_led_on
|
||||
else
|
||||
status_led_off
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user