diff --git a/target/linux/sunxi/base-files/root/setup.sh b/target/linux/sunxi/base-files/root/setup.sh index af1b9967de..575cfc1f5a 100755 --- a/target/linux/sunxi/base-files/root/setup.sh +++ b/target/linux/sunxi/base-files/root/setup.sh @@ -79,28 +79,8 @@ if [ -f /sys/class/sunxi_info/sys_info ]; then fi fi -# update /etc/config/network -WAN_IF=`uci get network.wan.ifname` -if [ "x${WAN_IF}" = "xeth0" ]; then - uci set network.wan.dns=8.8.8.8 - uci commit -fi - WIFI_NUM=`find /sys/class/net/ -name wlan* | wc -l` if [ ${WIFI_NUM} -gt 0 ]; then - - # make sure lan interface exist - if [ -z "`uci get network.lan`" ]; then - uci batch <