summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/base-files')
-rwxr-xr-xopenwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
index 27336e112e..3c4c032563 100755
--- a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
+++ b/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
@@ -57,7 +57,7 @@ END {
# WAP54G
if ((nvram["boardnum"] == "2") || \
(nvram["boardnum"] == "1024")) {
- c["lan_ifnames"]="eth0 eth1"
+ c["lan_ifnames"]="eth1 eth2"
c["wan_ifname"]=""
}
@@ -78,6 +78,7 @@ END {
print "# lan_gateway=\"192.168.1.1\""
print ""
+ p("unused_ifnames")
print ""
print "#### WAN configuration"