You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
252 B
16 lines
252 B
![]()
16 years ago
|
#!/bin/sh
|
||
![]()
16 years ago
|
|
||
![]()
16 years ago
|
for f in /tmp/dhclient.*.pid; do
|
||
![]()
16 years ago
|
[ -e $f ] || continue
|
||
|
read PID < $f;
|
||
![]()
13 years ago
|
kill $PID >/dev/null 2>&1
|
||
![]()
16 years ago
|
done
|
||
![]()
15 years ago
|
|
||
|
sleep 0.1
|
||
|
|
||
|
for f in /tmp/dhclient.*.pid; do
|
||
|
[ -e $f ] || continue
|
||
|
read PID < $f;
|
||
![]()
13 years ago
|
kill -9 $PID >/dev/null 2>&1
|
||
![]()
15 years ago
|
done
|