3 # desc: activate ethernet card
8 if(isipdevup $netdev) {
17 log starting ethernet $ethermethod config
18 switch($ethermethod) {
20 ip/ipconfig -g $gwaddr ether $netdev $ipaddr $ipmask >>[2]/srv/log
22 ip/ipconfig >>[2]/srv/log
26 if(! isipdevup $netdev) {