2015-05-31 17:45:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-12-03 23:07:46 +00:00
|
|
|
. /lib/functions/uci-defaults-new.sh
|
|
|
|
|
|
|
|
board_config_udpate
|
2015-05-31 17:45:43 +00:00
|
|
|
|
2015-10-31 09:30:57 +00:00
|
|
|
ucidef_set_interface_wan "eth0"
|
|
|
|
if [ -d "/sys/class/net/eth1" ]; then
|
|
|
|
ucidef_set_interface_lan "eth1"
|
|
|
|
fi
|
2015-12-03 23:07:46 +00:00
|
|
|
|
|
|
|
board_config_flush
|
|
|
|
|
|
|
|
exit 0
|