

7 changed files with 24 additions and 25 deletions
@ -1,5 +1,7 @@
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh |
||||
|
||||
for f in /tmp/dhclient.*.pid; do |
||||
[ "$f" != "/tmp/dhclient.*.pid" ] && kill $(cat $f) |
||||
[ -e $f ] || continue |
||||
read PID < $f; |
||||
kill $PID; |
||||
done |
||||
|
Loading…
Reference in new issue