projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle missing wan_ifname
[openwrt.git]
/
root
/
etc
/
nvram.overrides
diff --git
a/root/etc/nvram.overrides
b/root/etc/nvram.overrides
index
45097fc
..
e155df1
100644
(file)
--- 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"
+}
This page took
0.031513 seconds
and
4
git commands to generate.