You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
253 B
Plaintext
19 lines
253 B
Plaintext
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
. /lib/functions/uci-defaults.sh
|
||
|
|
||
|
board_config_update
|
||
|
|
||
|
board=$(board_name)
|
||
|
boardname="${board##*,}"
|
||
|
|
||
|
case "$board" in
|
||
|
glinet,gl-ar300m-nand)
|
||
|
ucidef_set_led_netdev "lan" "LAN" "gl-ar300m:green:lan" "eth0"
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
board_config_flush
|
||
|
|
||
|
exit 0
|