aboutsummaryrefslogtreecommitdiff
path: root/target/linux/mpc85xx/base-files/etc/board.d/01_leds
blob: d9b4d2d79d32b93f3b9df2ac2b84624da9fc66ae (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)
boardname="${board##*,}"

board_config_update

case $board in
enterasys,ws-ap3715i|\
extreme-networks,ws-ap3825i)
	ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1"
	ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth0"
	;;
esac

board_config_flush

exit 0