summaryrefslogtreecommitdiffstats
path: root/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm')
-rwxr-xr-xmeta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
index a56edaa15b..6a04efe860 100755
--- a/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
+++ b/meta/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
@@ -1,10 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3killproc() { # kill the named process(es) 3killproc() { # kill the named process(es)
4 pid=`/bin/ps -e x | 4 pid=`/bin/pidof $1`
5 /bin/grep $1 |
6 /bin/grep -v grep |
7 /bin/sed -e 's/^ *//' -e 's/ .*//'`
8 [ "$pid" != "" ] && kill $pid 5 [ "$pid" != "" ] && kill $pid
9} 6}
10 7