X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=misc%2Fsysfiles%2Fetc%2Fconf%2Fnetwork;h=6868eec4a86bc0c244c85926213c0b1fa511b391;hb=d6811c8da4cc23507a728b67de0d4844f2c30a65;hp=9644b5e7df081e870c1adcada9c0cde1069a2bfd;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/misc/sysfiles/etc/conf/network b/misc/sysfiles/etc/conf/network index 9644b5e..6868eec 100644 --- a/misc/sysfiles/etc/conf/network +++ b/misc/sysfiles/etc/conf/network @@ -4,7 +4,7 @@ # (copied from ROCK Linux + some additions) # -DHCP="off" +DHCP="on" IF_0="eth0" IPADDR_0="192.168.10.20" @@ -21,7 +21,7 @@ xx() { echo ">> $*" ; eval "$*" ; } start_net() { if [ ".$DHCP" = ".on" ] ; then echo "starting dhclient." - /sbin/dhclient -q $IF_0 + /usr/sbin/dhclient -q $IF_0 else echo "setting up network ..." # xx insmod ip_tables @@ -38,7 +38,7 @@ start_net() { stop_net() { if [ ".$DHCP" = ".on" ] ; then echo "stopping dhclient." - killall -15 /sbin/dhclient + killall -15 /usr/sbin/dhclient ifconfig $IF_0 down else echo "shutting down network ..."