mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 18:34:53 +00:00
bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26875
This commit is contained in:
parent
c6af9c23b7
commit
0fb1c2d537
@ -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…
Reference in New Issue
Block a user