mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-02 22:01:07 +02:00
fix brcm-2.4/brcm47xx failsafe init (thx, puchu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19365 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3eab01e6f0
commit
b10341b15c
@ -13,6 +13,7 @@ set_preinit_iface() {
|
|||||||
"ASUS (unknown, BCM4702)") ifname=eth1;;
|
"ASUS (unknown, BCM4702)") ifname=eth1;;
|
||||||
"Sitecom WL-105b") ifname=eth1;;
|
"Sitecom WL-105b") ifname=eth1;;
|
||||||
esac
|
esac
|
||||||
|
ifconfig $ifname 0.0.0.0 up
|
||||||
}
|
}
|
||||||
|
|
||||||
check_module () {
|
check_module () {
|
||||||
@ -32,7 +33,5 @@ init_iface() {
|
|||||||
} || rmmod switch-core
|
} || rmmod switch-core
|
||||||
}
|
}
|
||||||
|
|
||||||
boot_hook_add preinit_main init_iface
|
|
||||||
boot_hook_add preinit_main set_preinit_iface
|
boot_hook_add preinit_main set_preinit_iface
|
||||||
|
boot_hook_add preinit_main init_iface
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user