projects
/
openwrt
/
staging
/
nbd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mpc85xx: overhaul WS-AP3825i LED setup
[openwrt/staging/nbd.git]
/
target
/
linux
/
mpc85xx
/
base-files
/
etc
/
board.d
/
01_leds
1
2
. /lib/functions/leds.sh
3
. /lib/functions/uci-defaults.sh
4
5
board=$(board_name)
6
boardname="${board##*,}"
7
8
board_config_update
9
10
case $board in
11
extreme-networks,ws-ap3825i)
12
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1"
13
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth0"
14
;;
15
esac
16
17
board_config_flush
18
19
exit 0