Release a previous lease if there is any, instead of

just killing dhclient. Needed my some broken dhcpd
implementations to be able to get a lease again.
This commit is contained in:
mbr 2003-09-15 18:27:38 +00:00
parent df8f56d637
commit 958e5bbfa2

View File

@ -65,7 +65,7 @@ stop_dhcp() {
else
return
fi
kill `cat ${pidfile}`
/sbin/dhclient -r ${interface}
rm -f ${pidfile}
case ${startstop} in
[Ss][Tt][Oo][Pp])