remove references to the old switch driver
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 Feb 2013 22:25:19 +0000 (22:25 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 Feb 2013 22:25:19 +0000 (22:25 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35503

target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx

index b7cbecd4f4003f29ba00a39d513308cfc679ee6d..0f85f4b95a628b64d5e0d3744579db72c102827b 100644 (file)
@@ -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