kill dhclient if pid was found

master
Harald Hoyer 2009-05-18 14:07:34 +02:00
parent c395f1de24
commit b300c0354a
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh

pid=$(pidof dhclient)
[[ $pid ]] && kill $pid
[ -n "$pid" ] && kill $pid