1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-09 02:26:27 +00:00

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:
Martin Blapp 2003-09-15 18:27:38 +00:00
parent db38f9cb0e
commit 516b220f3e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120097

View File

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