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