OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #!/bin/sh |
2 | |||
3 | . /lib/functions/system.sh |
||
4 | . /lib/functions/uci-defaults.sh |
||
5 | |||
6 | board_config_update |
||
7 | |||
8 | case "$(board_name)" in |
||
9 | traverse,ls1043v) |
||
10 | ucidef_set_interface_lan "eth0 eth1 eth2 eth3" |
||
11 | ucidef_set_interface_wan "eth4" |
||
12 | ;; |
||
13 | traverse,ls1043s) |
||
14 | ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth6" |
||
15 | ucidef_set_interface_wan "eth4" |
||
16 | ;; |
||
17 | esac |
||
18 | |||
19 | board_config_flush |
||
20 | |||
21 | exit 0 |