aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-05 22:25:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-02-05 22:25:19 +0000
commitaabf50e0bf063bb4ae66042108062e4e40b4a534 (patch)
treef2d93678822842b6e96c06799625ada8e1d65d0e /target/linux/brcm63xx
parent478a38a1d0f8f3da734c3e9dec254beb354c4e5a (diff)
downloadupstream-aabf50e0bf063bb4ae66042108062e4e40b4a534.tar.gz
upstream-aabf50e0bf063bb4ae66042108062e4e40b4a534.tar.bz2
upstream-aabf50e0bf063bb4ae66042108062e4e40b4a534.zip
[brcm63xx] remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35503 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx15
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx b/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx
index b7cbecd4f4..0f85f4b95a 100644
--- a/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx
+++ b/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx
@@ -8,19 +8,4 @@ set_preinit_iface() {
ifconfig $ifname 0.0.0.0 up
}
-check_module () {
- module="$1"; shift; params="$*"
-
- insmod "$module" "$params"
- sleep 1
- grep "^$module" /proc/modules
- return $?
-}
-
-init_iface() {
- insmod switch-core
- check_module switch-robo || check_module switch-adm || rmmod switch-core
-}
-
boot_hook_add preinit_main set_preinit_iface
-boot_hook_add preinit_main init_iface