projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix openswan dependencies
[openwrt.git]
/
openwrt
/
target
/
default
/
target_skeleton
/
etc
/
nvram.overrides
diff --git
a/openwrt/target/default/target_skeleton/etc/nvram.overrides
b/openwrt/target/default/target_skeleton/etc/nvram.overrides
index
82c1590
..
094db45
100644
(file)
--- a/
openwrt/target/default/target_skeleton/etc/nvram.overrides
+++ b/
openwrt/target/default/target_skeleton/etc/nvram.overrides
@@
-65,7
+65,9
@@
NVRAM_lan_proto="static"
NVRAM_vlan0hwname="et0"
NVRAM_vlan1hwname="et0"
NVRAM_lan_ifnames="vlan0 eth1"
- NVRAM_wan_ifname="vlan1"
+ [ "$(nvram get wan_ifname)" = "eth0.1" ] && {
+ NVRAM_wan_ifname="vlan1"
+ }
}
# defaults if lan_ifname is missing
This page took
0.021663 seconds
and
4
git commands to generate.