kill dhclient if pid was found
parent
c395f1de24
commit
b300c0354a
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
pid=$(pidof dhclient)
|
||||
[[ $pid ]] && kill $pid
|
||||
[ -n "$pid" ] && kill $pid
|
||||
|
|
|
|||
Loading…
Reference in New Issue