summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-04 22:33:27 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-04 22:33:27 +0100
commite968eca94ab0087e145da4b08fe9cc3750a6a002 (patch)
tree4602e7005df9c8db8a094975c742c0e8f83f6365 /package
parent05b5e50565f5b9343755c1fa095a7619a88cd0a8 (diff)
simplify script, do not create package specific dirs here
Diffstat (limited to 'package')
-rw-r--r--package/kodi/files/kodi.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/kodi/files/kodi.init b/package/kodi/files/kodi.init
index 6dddfd421..51f6604aa 100644
--- a/package/kodi/files/kodi.init
+++ b/package/kodi/files/kodi.init
@@ -12,6 +12,9 @@ autostart)
exec sh $0 start
;;
start)
+ if [ -! d /data/kodi ];then
+ mkdir /data/kodi
+ fi
kodi &
;;
stop)