summaryrefslogtreecommitdiff
path: root/root/etc/nvram.overrides
diff options
context:
space:
mode:
Diffstat (limited to 'root/etc/nvram.overrides')
-rw-r--r--root/etc/nvram.overrides5
1 files changed, 5 insertions, 0 deletions
diff --git a/root/etc/nvram.overrides b/root/etc/nvram.overrides
index 45097fce46..e155df15a2 100644
--- a/root/etc/nvram.overrides
+++ b/root/etc/nvram.overrides
@@ -44,3 +44,8 @@ lan_proto="static"
lan_ifname="br0"
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
}
+
+[ -z "$(nvram_get wan_ifname)" ] && {
+ wan_ifname="vlan1"
+ wan_proto="dhcp"
+}