projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a pgsql-cli subpackage, extend help in Config.in, standardize Makefile
[openwrt.git]
/
root
/
etc
/
nvram.overrides
diff --git
a/root/etc/nvram.overrides
b/root/etc/nvram.overrides
index
45097fc
..
e334d75
100644
(file)
--- a/
root/etc/nvram.overrides
+++ b/
root/etc/nvram.overrides
@@
-1,5
+1,6
@@
# NVRAM overrides
# This file handles the NVRAM quirks of various hardware
# NVRAM overrides
# This file handles the NVRAM quirks of various hardware
+# this is not a replacement for nvram.
# linksys bug has lan doing dhcp; force static
lan_proto="static"
# linksys bug has lan doing dhcp; force static
lan_proto="static"
@@
-44,3
+45,8
@@
lan_proto="static"
lan_ifname="br0"
lan_ifnames="vlan0 vlan2 eth1 eth2 eth3"
}
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.025796 seconds
and
4
git commands to generate.