brcm-2.4: preinit: Removed duplicate failsafe switch config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21636 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
fe3f850ad0
commit
5e5a288fef
|
@ -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
|
||||
|
Loading…
Reference in New Issue