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/chillispot/files/chillispot.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/chillispot') diff --git a/package/chillispot/files/chillispot.init b/package/chillispot/files/chillispot.init index 8a09a3d35..569837d68 100644 --- a/package/chillispot/files/chillispot.init +++ b/package/chillispot/files/chillispot.init @@ -10,10 +10,10 @@ autostart) exec sh $0 start ;; start) - chilli + /usr/sbin/chilli ;; stop) - pkill chilli + kill $(pgrep -f /usr/sbin/chilli) ;; restart) sh $0 stop -- cgit v1.2.3