lantiq: add a hook to make leds work on the secondary usb bus
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37538
This commit is contained in:
parent
4036be4408
commit
32f7ae4ce6
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
[ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0tpt"
|
[ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0tpt"
|
||||||
[ -e "/sys/class/leds/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1"
|
[ -e "/sys/class/leds/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1"
|
||||||
|
[ -e "/sys/class/leds/usb2" ] && ucidef_set_led_usbdev "usb2" "usb2" "usb2" "2-1"
|
||||||
[ -e "/sys/class/leds/internet" ] && ucidef_set_led_netdev "internet" "internet" "internet" "pppoe-wan"
|
[ -e "/sys/class/leds/internet" ] && ucidef_set_led_netdev "internet" "internet" "internet" "pppoe-wan"
|
||||||
|
|
||||||
for a in `ls /sys/class/leds/`; do
|
for a in `ls /sys/class/leds/`; do
|
||||||
|
|
Loading…
Reference in a new issue