summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/lib
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-05-30 03:21:11 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-05-30 03:21:11 +0000
commit49ead8b0ada4e6a72dadbd0446aead00728fcba4 (patch)
tree0e7a5c6dc722b012cf12addc19e4e658bf91800c /target/linux/brcm-2.4/base-files/lib
parentba2b75f71061973e245b550c54ad4123b1f91968 (diff)
downloadmtk-20170518-49ead8b0ada4e6a72dadbd0446aead00728fcba4.zip
mtk-20170518-49ead8b0ada4e6a72dadbd0446aead00728fcba4.tar.gz
mtk-20170518-49ead8b0ada4e6a72dadbd0446aead00728fcba4.tar.bz2
brcm-2.4: preinit: Removed duplicate failsafe switch config file
SVN-Revision: 21636
Diffstat (limited to 'target/linux/brcm-2.4/base-files/lib')
-rw-r--r--target/linux/brcm-2.4/base-files/lib/preinit/05_failsafe_config_switch_brcm10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/05_failsafe_config_switch_brcm b/target/linux/brcm-2.4/base-files/lib/preinit/05_failsafe_config_switch_brcm
deleted file mode 100644
index 0bfce5f..0000000
--- a/target/linux/brcm-2.4/base-files/lib/preinit/05_failsafe_config_switch_brcm
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-failsafe_config_switch() {
- [ -d /proc/switch/eth0 ] && [ "$ifname" = "eth0" ] && {
- echo "0 1 2 3 4 ${cpu_port:-5u*}" > /proc/switch/eth0/vlan/0/ports
- }
-}
-
-boot_hook_add failsafe failsafe_config_switch
-