--- net.eth0.ori 2004-08-18 13:47:33.562958776 -0500 +++ net.eth0 2004-08-18 13:50:27.813468672 -0500 @@ -320,7 +320,7 @@ # bool iface_stop_dhcp(char *iface) # -# Stop DHCP on an interface by calling dhcpcd -z +# Stop DHCP on an interface by calling udhcpc -z # # Returns 0 (true) when there appears to be an DHCP lease, and we # attempted to release it. This does not necessarily indicate that @@ -329,13 +329,13 @@ iface_stop_dhcp() { local iface=$1 count - if ! /sbin/dhcpcd -z ${iface} &>${devnull}; then + if ! /sbin/udhcpc -z ${iface} &>${devnull}; then return 1 fi einfo " Releasing DHCP lease for ${iface}" for ((count = 0; count < 9; count = count + 1)); do - /sbin/dhcpcd -z ${iface} &>${devnull} || break + /sbin/udhcpc -z ${iface} &>${devnull} || break sleep 1 done [[ ${count} -lt 9 ]] @@ -375,7 +375,7 @@ fi # Bring up DHCP for this interface (or alias) - /sbin/dhcpcd ${dhcpcd_IFACE[i]} ${label} + /sbin/udhcpc ${dhcpcd_IFACE[i]} ${label} eend $? retval=$? @@ -468,7 +468,7 @@ fi # Bring up DHCP for this interface (or alias) - /sbin/dhcpcd ${dhcpcd_IFACE[i]} ${iface} + /sbin/udhcpc ${dhcpcd_IFACE[i]} ${iface} eend $? retval=$?