projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f76d925
)
handle missing wan_ifname
author
Mike Baker
<mbm@openwrt.org>
Sun, 11 Jul 2004 23:01:01 +0000
(23:01 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Sun, 11 Jul 2004 23:01:01 +0000
(23:01 +0000)
SVN-Revision: 87
root/etc/nvram.overrides
patch
|
blob
|
history
diff --git
a/root/etc/nvram.overrides
b/root/etc/nvram.overrides
index 45097fce46aac8ce02d4e1314a1c6be43f34fde7..e155df15a26a04c0c340ff6c297797af5a7c83f7 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"
+}