DEADSOFTWARE

kill back in stop
authorIvan Denisov <d.ivan.krsk@gmail.com>
Fri, 14 Sep 2012 01:38:16 +0000 (09:38 +0800)
committerIvan Denisov <d.ivan.krsk@gmail.com>
Fri, 14 Sep 2012 01:38:16 +0000 (09:38 +0800)
stop

diff --git a/stop b/stop
index 8ec03558b0df54d09f90a090c6c8eeb763a8621c..47df57612be737eb115be9a643c70ff910739c9e 100644 (file)
--- a/stop
+++ b/stop
@@ -1,3 +1,4 @@
 #!/bin/sh
-sudo pkill -x blackbox
+# sudo pkill -x blackbox
+kill `ps -ef | grep blackbox | grep -v grep | awk '{ print $2 }'