aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2010-05-30 03:21:11 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2010-05-30 03:21:11 +0000
commit5e5a288fef334f282ac5d8977ec02f4347ca8b26 (patch)
tree0e10c80b8d92866174ab36d6453709f460106d30 /target
parentfe3f850ad00d3e7973d0482e57a60125a63a5106 (diff)
downloadupstream-5e5a288fef334f282ac5d8977ec02f4347ca8b26.tar.gz
upstream-5e5a288fef334f282ac5d8977ec02f4347ca8b26.tar.bz2
upstream-5e5a288fef334f282ac5d8977ec02f4347ca8b26.zip
brcm-2.4: preinit: Removed duplicate failsafe switch config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 0bfce5f1ef..0000000000
--- 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
-