summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-03 16:52:48 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-03 16:54:20 -0500
commitf81fe6f2d52cc051f11a9be53e937b242390a2d1 (patch)
treeafa795ea211b7f9d993285edf38222eeb18a2944 /package
parent0d6b2d78de95f17111428970a29e88e2b3cfd438 (diff)
some init script cleanup
Diffstat (limited to 'package')
-rw-r--r--package/kodi/files/kodi.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kodi/files/kodi.init b/package/kodi/files/kodi.init
index 7ddaf859b..ecf7f7c58 100644
--- a/package/kodi/files/kodi.init
+++ b/package/kodi/files/kodi.init
@@ -12,10 +12,10 @@ autostart)
exec sh $0 start
;;
start)
- if [ ! -d /data/kodi ];then
+ if [ ! -d /data/kodi ]; then
mkdir /data/kodi
fi
- kodi &
+ /usr/bin/kodi &
;;
stop)
kill $(pgrep -f /usr/lib/kodi/kodi.bin)