aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/lib/preinit
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
commit84d306d23c5c9cfe9023204a6997b30a9e4ee9a9 (patch)
treef34a22ad81bf60cee9a1e1de81bb724d40d6422f /target/linux/brcm63xx/base-files/lib/preinit
parentec19a23bae1a578379175b52f6d63b6d58fe9d69 (diff)
downloadupstream-84d306d23c5c9cfe9023204a6997b30a9e4ee9a9.tar.gz
upstream-84d306d23c5c9cfe9023204a6997b30a9e4ee9a9.tar.bz2
upstream-84d306d23c5c9cfe9023204a6997b30a9e4ee9a9.zip
remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35503
Diffstat (limited to 'target/linux/brcm63xx/base-files/lib/preinit')
-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