6 # hardware specific overrides
7 case "$(cat /proc/diag/model)" in
8 "Linksys WAP54G V1") ifname
=eth1
;;
9 "ASUS WL-HDD") ifname
=eth1
;;
10 "ASUS WL-300g") ifname
=eth1
;;
11 "ASUS (unknown, BCM4702)") ifname
=eth1
;;
12 "Sitecom WL-105b") ifname
=eth1
;;
14 ifconfig
$ifname 0.0.0.0 up
18 [ -d /proc
/switch
/eth0
] && [ "$ifname" = "eth0" ] && {
19 case "$(cat /proc/switch/eth0/cpuport)" in
26 boot_hook_add preinit_main set_preinit_iface
27 boot_hook_add preinit_main init_iface