network: kill -9 dhclient, if normal kill does not succeed
https://bugzilla.redhat.com/show_bug.cgi?id=583348master
parent
1b29b0f7cf
commit
a8a949d9e5
|
|
@ -7,3 +7,11 @@ for f in /tmp/dhclient.*.pid; do
|
|||
read PID < $f;
|
||||
kill $PID;
|
||||
done
|
||||
|
||||
sleep 0.1
|
||||
|
||||
for f in /tmp/dhclient.*.pid; do
|
||||
[ -e $f ] || continue
|
||||
read PID < $f;
|
||||
kill -9 $PID;
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue