summaryrefslogtreecommitdiff
path: root/package/kodi/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-08 14:46:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-08 14:47:02 +0200
commit642da637d9cc31e735a484bd498e6bf916ae85a8 (patch)
tree3d6e66e733a88271eb52b19a05a893cecad505b0 /package/kodi/files
parent031746fe5d061e3425386f6b577612d7f09b0fd7 (diff)
update startupscripts
Diffstat (limited to 'package/kodi/files')
-rw-r--r--package/kodi/files/kodi.init (renamed from package/kodi/files/xbmc.init)6
-rw-r--r--package/kodi/files/kodi.postinst (renamed from package/kodi/files/xbmc.postinst)2
2 files changed, 4 insertions, 4 deletions
diff --git a/package/kodi/files/xbmc.init b/package/kodi/files/kodi.init
index bbe65c1c2..b15b1d6d4 100644
--- a/package/kodi/files/xbmc.init
+++ b/package/kodi/files/kodi.init
@@ -1,5 +1,5 @@
#!/bin/sh
-#PKG xbmc
+#PKG kodi
#INIT 95
. /etc/rc.conf
@@ -7,8 +7,8 @@
case $1 in
autostop) ;;
autostart)
- test x"${xbmc:-NO}" = x"NO" && exit 0
- test x"$xbmc" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
+ test x"${kodi:-NO}" = x"NO" && exit 0
+ test x"$kodi" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)
diff --git a/package/kodi/files/xbmc.postinst b/package/kodi/files/kodi.postinst
index 45274da68..2620d7dd4 100644
--- a/package/kodi/files/xbmc.postinst
+++ b/package/kodi/files/kodi.postinst
@@ -1,3 +1,3 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf xbmc NO
+add_rcconf kodi NO