2015-05-31 17:45:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-12-11 15:26:06 +00:00
|
|
|
. /lib/functions/uci-defaults.sh
|
2015-12-03 23:07:46 +00:00
|
|
|
|
2015-12-04 09:05:43 +00:00
|
|
|
board_config_update
|
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
|