From: Florian Fainelli Date: Tue, 5 Feb 2013 22:25:19 +0000 (+0000) Subject: remove references to the old switch driver X-Git-Tag: reboot~11339 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84d306d23c5c9cfe9023204a6997b30a9e4ee9a9;p=openwrt%2Fopenwrt.git remove references to the old switch driver Signed-off-by: Florian Fainelli SVN-Revision: 35503 --- 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