mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c16de866d5
commit
804e80ff08
@ -4,6 +4,8 @@ set_preinit_iface() {
|
||||
ifname=eth0
|
||||
|
||||
insmod diag
|
||||
insmod hwmon
|
||||
insmod tg3
|
||||
|
||||
# hardware specific overrides
|
||||
case "$(cat /proc/diag/model)" in
|
||||
@ -26,8 +28,6 @@ check_module () {
|
||||
}
|
||||
|
||||
init_iface() {
|
||||
check_module hwmon
|
||||
check_module tg3
|
||||
insmod switch-core
|
||||
check_module switch-robo || check_module switch-adm || {
|
||||
check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user