summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)