From d74318f9694b7b852fc3189fff3866408fc0ccd0 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 3 May 2014 22:02:33 +0000 Subject: =?UTF-8?q?automatic=20d=C3=A6monising=20of=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/motion/files/motion.init | 1 + 1 file changed, 1 insertion(+) (limited to 'package/motion/files/motion.init') diff --git a/package/motion/files/motion.init b/package/motion/files/motion.init index 1c8b7e705..66115f67f 100644 --- a/package/motion/files/motion.init +++ b/package/motion/files/motion.init @@ -7,6 +7,7 @@ case $1 in autostop) ;; autostart) test x"${motion:-NO}" = x"NO" && exit 0 + test x"$motion" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) -- cgit v1.2.3