OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #!/bin/sh |
2 | # |
||
3 | # Copyright (C) 2015 OpenWrt.org |
||
4 | # |
||
5 | |||
6 | . /lib/functions/uci-defaults.sh |
||
7 | |||
8 | board_config_update |
||
9 | |||
10 | board=$(board_name) |
||
11 | |||
12 | case "$board" in |
||
13 | traverse,ls1043v) |
||
14 | ucidef_set_led_netdev "wan" "WAN LED" "ls1043v:yellow:wan" "eth4" |
||
15 | ;; |
||
16 | traverse,ls1043s) |
||
17 | ucidef_set_led_netdev "wan" "WAN LED" "ls1043s:yellow:wan" "eth4" |
||
18 | ucidef_set_led_netdev "xgact" "10G Activity" "ls1043s:yellow:10gact" "eth6" |
||
19 | ucidef_set_led_netdev "xglink" "10G Link" "ls1043s:green:10glink" "eth6" |
||
20 | ;; |
||
21 | esac |
||
22 | |||
23 | board_config_flush |
||
24 | |||
25 | exit 0 |