summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-rw-r--r--root/etc/nvram.overrides7
1 files changed, 6 insertions, 1 deletions
diff --git a/root/etc/nvram.overrides b/root/etc/nvram.overrides
index 058ce708e..45097fce4 100644
--- a/root/etc/nvram.overrides
+++ b/root/etc/nvram.overrides
@@ -6,7 +6,7 @@ lan_proto="static"
# failsafe if reset is held
[ "$FAILSAFE" = "true" ] && {
- debug "### FAILSAFE MODE ####"
+ echo "### FAILSAFE MODE ####"
lan_ifname="br0"
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
lan_ipaddr="192.168.1.1"
@@ -39,3 +39,8 @@ lan_proto="static"
remap wan_ifnames
remap pppoe_ifname
}
+
+[ -z "$(nvram_get lan_ifname)" ] && {
+ lan_ifname="br0"
+ lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
+}