aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/atheros/base-files/etc/uci-defaults/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network
index af7cfb0afa..49c2a40057 100644
--- a/target/linux/atheros/base-files/etc/uci-defaults/network
+++ b/target/linux/atheros/base-files/etc/uci-defaults/network
@@ -24,6 +24,7 @@ set network.lan.ifname=eth0.1
set network.wan=interface
set network.wan.ifname=eth0.2
set network.wan.proto=dhcp
+commit network
EOF
HAS_SWITCH=1
fi
@@ -33,6 +34,7 @@ fi
set network.wan=interface
set network.wan.ifname=eth1
set network.wan.proto=dhcp
+commit network
EOF
}