8 # hardware specific overrides
9 case "$(cat /proc/diag/model)" in
10 "Linksys WAP54G V1") ifname
=eth1
;;
11 "ASUS WL-HDD") ifname
=eth1
;;
12 "ASUS WL-300g") ifname
=eth1
;;
13 "ASUS (unknown, BCM4702)") ifname
=eth1
;;
14 "Sitecom WL-105b") ifname
=eth1
;;
19 module
="$1"; shift; params
="$*"
21 insmod
"$module" "$params"
23 grep "^$module" /proc
/modules
30 check_module switch-robo || check_module switch-adm ||
{
31 check_module bcm57xx activate_gpio
=0x4 && cpu_port
="8u*"
32 } || rmmod switch-core
35 boot_hook_add preinit_main init_iface
36 boot_hook_add preinit_main set_preinit_iface