summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622/base-files/etc/board.d/01_leds
blob: e74944a65f1e43d7f5e638d8891f0ea3000a308c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

. /lib/functions/leds.sh
. /lib/functions/uci-defaults.sh

board=$(board_name)

board_config_update

case $board in
linksys,e8450)
	ucidef_set_led_netdev "wan" "WAN" "inet:blue" "wan"
	;;
esac

board_config_flush

exit 0