diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 15:32:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 15:32:14 +0000 |
commit | cb3692258e40cc4f9431a6ee716eed1cc6dceb3b (patch) | |
tree | a84e6e875b1a267c19b9e7c693146bf008ac746e /package | |
parent | 2d072c599779ce1b76df480b9da7cd3c3e65425c (diff) | |
download | mtk-20170518-cb3692258e40cc4f9431a6ee716eed1cc6dceb3b.zip mtk-20170518-cb3692258e40cc4f9431a6ee716eed1cc6dceb3b.tar.gz mtk-20170518-cb3692258e40cc4f9431a6ee716eed1cc6dceb3b.tar.bz2 |
remove the wifi interface from the default bridge
SVN-Revision: 5114
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/brcm-2.4/etc/init.d/S05netconfig | 7 | ||||
-rwxr-xr-x | package/base-files/brcm-2.6/etc/init.d/S05netconfig | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/package/base-files/brcm-2.4/etc/init.d/S05netconfig b/package/base-files/brcm-2.4/etc/init.d/S05netconfig index 71092da..7c36183 100755 --- a/package/base-files/brcm-2.4/etc/init.d/S05netconfig +++ b/package/base-files/brcm-2.4/etc/init.d/S05netconfig @@ -20,7 +20,7 @@ start() { BEGIN { FS="=" - c["lan_ifname"]="eth0.0 wl0" + c["lan_ifname"]="eth0.0" c["wan_ifname"]="eth0.1" c["vlan0ports"]="1 2 3 4 5*" c["vlan1ports"]="0 5" @@ -35,14 +35,13 @@ start() { if (nvram["boardtype"] == "bcm94710dev") { # Asus WL-500g if (nvram["boardnum"] == "asusX") { - c["lan_ifname"]="eth0 eth1 wl0" # FIXME + c["lan_ifname"]="eth0 eth1" # FIXME c["wan_ifname"]="" } } if (nvram["boardtype"] == "wgt634u") { c["vlan0ports"] = "0 1 2 3 5*" c["vlan1ports"] = "4 5" - c["lan_ifname"] = "eth0.0 ath0" } if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) { c["vlan0ports"] = "0 1 2 3 5*" @@ -52,7 +51,7 @@ start() { # WAP54G if ((nvram["boardnum"] == "2") || \ (nvram["boardnum"] == "1024")) { - c["lan_ifname"]="eth0 wl0" + c["lan_ifname"]="eth0" c["wan_ifname"]="" } diff --git a/package/base-files/brcm-2.6/etc/init.d/S05netconfig b/package/base-files/brcm-2.6/etc/init.d/S05netconfig index e37633e..8465626 100755 --- a/package/base-files/brcm-2.6/etc/init.d/S05netconfig +++ b/package/base-files/brcm-2.6/etc/init.d/S05netconfig @@ -20,7 +20,7 @@ start() { BEGIN { FS="=" - c["lan_ifname"]="eth0.0 wl0" + c["lan_ifname"]="eth0.0" c["wan_ifname"]="eth0.1" c["vlan0ports"]="1 2 3 4 5*" c["vlan1ports"]="0 5" @@ -35,14 +35,13 @@ start() { if (nvram["boardtype"] == "bcm94710dev") { # Asus WL-500g if (nvram["boardnum"] == "asusX") { - c["lan_ifname"]="eth0 eth1 wl0" # FIXME + c["lan_ifname"]="eth0 eth1" # FIXME c["wan_ifname"]="" } } if (nvram["boardtype"] == "wgt634u") { c["vlan0ports"] = "0 1 2 3 5*" c["vlan1ports"] = "4 5" - c["lan_ifname"] = "eth0.0 ath0" } if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) { c["vlan0ports"] = "0 1 2 3 5*" @@ -52,7 +51,7 @@ start() { # WAP54G if ((nvram["boardnum"] == "2") || \ (nvram["boardnum"] == "1024")) { - c["lan_ifname"]="eth0 wl0" + c["lan_ifname"]="eth0" c["wan_ifname"]="" } |