2022-03-24 22:09:24 +00:00
|
|
|
|
|
|
|
. /lib/functions/leds.sh
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
|
|
|
|
board=$(board_name)
|
|
|
|
boardname="${board##*,}"
|
|
|
|
|
|
|
|
board_config_update
|
|
|
|
|
|
|
|
case $board in
|
2023-09-20 18:59:35 +00:00
|
|
|
enterasys,ws-ap3715i)
|
|
|
|
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0"
|
|
|
|
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
|
|
|
|
;;
|
2022-03-24 22:09:24 +00:00
|
|
|
extreme-networks,ws-ap3825i)
|
|
|
|
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1"
|
|
|
|
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth0"
|
|
|
|
;;
|
2024-05-30 00:27:50 +00:00
|
|
|
hpe,msm460)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
|
|
|
|
;;
|
2022-03-24 22:09:24 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
board_config_flush
|
|
|
|
|
|
|
|
exit 0
|