OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | #!/bin/sh |
2 | |||
3 | . /lib/functions/uci-defaults.sh |
||
4 | |||
5 | board_config_update |
||
6 | |||
7 | if grep -q lan1 /proc/net/dev; then |
||
8 | ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" |
||
9 | else |
||
10 | ucidef_set_interface_lan "eth0" |
||
11 | fi |
||
12 | |||
13 | board_config_flush |
||
14 | |||
15 | exit 0 |