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:
parent
df8f56d637
commit
958e5bbfa2
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user