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