5 [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
6 [ -n "$subnet" ] && NETMASK="netmask $subnet"
7 [ -n "$rootpath" ] && echo "$rootpath" > /rootpath
8 #[ -n "$router" ] && echo "$router" > /router
9 #[ -n "$dns" ] && echo "$dns" > /dns
11 busybox ifconfig $interface $ip $BROADCAST $NETMASK
16 busybox route add default gw ${i}
19 [ -n "$domain" ] && echo "domain ${domain}" >> /etc/resolv.conf
24 echo "nameserver ${i}" >> /etc/resolv.conf
29 busybox ifconfig $interface 0.0.0.0