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

board=$(board_name)

board_config_update

case $board in
iptime,a6004mx)
	ucidef_set_led_netdev "wan" "WAN" "orange:wan" "eth1"
	;;
netgear,ex6250-v2)
	ucidef_set_led_netdev "eth_act" "LAN act" "yellow:eth" "eth0" "tx rx"
	ucidef_set_led_netdev "eth_link" "LAN link" "green:eth" "eth0" "link"
	;;
esac

board_config_flush

exit 0