aee666d8f9
This patch also makes use of the new leds script. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41585
21 lines
382 B
Bash
21 lines
382 B
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
. /lib/brcm63xx.sh
|
|
|
|
case "$board_name" in
|
|
963281T_TEF)
|
|
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
|
|
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
|
|
;;
|
|
'F@ST2704V2')
|
|
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
|
|
;;
|
|
esac
|
|
|
|
ucidef_commit_leds
|
|
|
|
exit 0
|