1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 06:20:16 +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:
florian 2011-05-11 13:33:45 +00:00
parent a49f5b3910
commit 65b306d01e

View File

@ -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