projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597fbf0
)
don't override wan_ifname, if it's correct (eg. pppoe)
author
Imre Kaloz
<kaloz@openwrt.org>
Wed, 30 Mar 2005 16:37:03 +0000
(16:37 +0000)
committer
Imre Kaloz
<kaloz@openwrt.org>
Wed, 30 Mar 2005 16:37:03 +0000
(16:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@479
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/default/target_skeleton/etc/nvram.overrides
patch
|
blob
|
history
diff --git
a/target/default/target_skeleton/etc/nvram.overrides
b/target/default/target_skeleton/etc/nvram.overrides
index
82c1590
..
094db45
100644
(file)
--- a/
target/default/target_skeleton/etc/nvram.overrides
+++ b/
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