From 0a96e4538fe6552dd75aa939b249030f4cdfd77f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:57:30 +0100 Subject: fix startup scripts, fix stop routine --- package/gpm/files/gpm.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/gpm') diff --git a/package/gpm/files/gpm.init b/package/gpm/files/gpm.init index 812fc1bf7..95565a1fa 100644 --- a/package/gpm/files/gpm.init +++ b/package/gpm/files/gpm.init @@ -14,7 +14,7 @@ start) /usr/sbin/gpm $gpm_flags ;; stop) - pkill gpm + kill $(pgrep -f /usr/sbin/gpm) ;; restart) sh $0 stop -- cgit v1.2.3