mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:41:53 +02: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
a49f5b3910
commit
65b306d01e
@ -61,7 +61,7 @@ set_state() {
|
|||||||
status_led_set_timer 50 50
|
status_led_set_timer 50 50
|
||||||
;;
|
;;
|
||||||
done)
|
done)
|
||||||
if [ "${status_led#power}" != "$status_led" ]; then
|
if [ "${status_led/power}" != "$status_led" ]; then
|
||||||
status_led_on
|
status_led_on
|
||||||
else
|
else
|
||||||
status_led_off
|
status_led_off
|
||||||
|
Loading…
Reference in New Issue
Block a user