aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/rt3883/base-files/etc/board.d/01_leds
blob: ecae088d88ffdf93c8d9e0c777c8d14db2cc2fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
. /lib/functions/leds.sh
. /lib/functions/uci-defaults.sh

board=$(board_name)

board_config_update

case $board in
belkin,f9k1109v1)
	ucidef_set_led_netdev "lan" "lan" "blue:wps" "eth0"
	;;
edimax,br-6475nd)
	ucidef_set_led_netdev "wifi_led" "wifi" "amber:wlan" "wlan0"
	;;
omnima,hpm)
	ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
	ucidef_set_led_netdev "wifi_led" "wifi" "green:wifi" "wlan0"
	;;
esac

board_config_flush

exit 0