10 # hardware specific overrides
11 case "$(cat /proc/diag/model)" in
12 "Linksys WAP54G V1") ifname
=eth1
;;
13 "ASUS WL-HDD") ifname
=eth1
;;
14 "ASUS WL-300g") ifname
=eth1
;;
15 "ASUS (unknown, BCM4702)") ifname
=eth1
;;
16 "Sitecom WL-105b") ifname
=eth1
;;
18 ifconfig
$ifname 0.0.0.0 up
22 module
="$1"; shift; params
="$*"
24 insmod
"$module" "$params"
26 grep -q ^
"$module " /proc
/modules
32 check_module switch-robo || check_module switch-adm ||
{
33 check_module bcm57xx activate_gpio
=0x4 && cpu_port
="8u*"
34 } || rmmod switch-core
37 boot_hook_add preinit_main set_preinit_iface
38 boot_hook_add preinit_main init_iface