14 # hardware specific overrides
15 case "$(cat /proc/diag/model)" in
16 "Linksys WAP54G V1") ifname
=eth1
;;
17 "ASUS WL-HDD") ifname
=eth1
;;
18 "ASUS WL-300g") ifname
=eth1
;;
19 "ASUS (unknown, BCM4702)") ifname
=eth1
;;
20 "Sitecom WL-105b") ifname
=eth1
;;
22 ifconfig
$ifname 0.0.0.0 up
30 [ -d /proc
/switch
/eth0
] && [ "$ifname" = "eth0" ] && {
31 case "$(cat /proc/switch/eth0/cpuport)" in
38 boot_hook_add preinit_main set_preinit_iface
39 boot_hook_add preinit_main init_iface