remove the wifi interface from the default bridge
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Oct 2006 15:32:14 +0000 (15:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Oct 2006 15:32:14 +0000 (15:32 +0000)
SVN-Revision: 5114

package/base-files/brcm-2.4/etc/init.d/S05netconfig
package/base-files/brcm-2.6/etc/init.d/S05netconfig

index 71092da559b3c0f787b49c0dd47923d7db7a98a4..7c36183896da69061c6b072b7497b5cbd91d0df5 100755 (executable)
@@ -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"]=""
                }
        
index e37633e18f10f405ee9785bb2436c7810e0d0106..846562690e3d89d9f246ed0a42a22ddca50aefae 100755 (executable)
@@ -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"]=""
                }