mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 11:00:15 +03:00
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
This commit is contained in:
parent
893b30dab6
commit
f45a25b350
@ -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
Block a user