summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-06 22:39:35 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-06 22:39:41 -0500
commit4c469b594cac236767599a778b92c1d16049ef82 (patch)
treec1275eeb2a9e69d8c6d047acc35fbd8fffbf48d8 /package
parentc730821d5684bcde26e262937382a8ceb7615357 (diff)
some minor fixes for lms, still broken.
Diffstat (limited to 'package')
-rw-r--r--package/logitechmediaserver/Makefile5
-rw-r--r--package/logitechmediaserver/files/logitechmediaserver.init2
2 files changed, 6 insertions, 1 deletions
diff --git a/package/logitechmediaserver/Makefile b/package/logitechmediaserver/Makefile
index daafeefb0..fe339a175 100644
--- a/package/logitechmediaserver/Makefile
+++ b/package/logitechmediaserver/Makefile
@@ -32,5 +32,10 @@ INSTALL_STYLE:= manual
logitechmediaserver-install:
$(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms
$(CP) $(WRKSRC)/* $(IDIR_LOGITECHMEDIASERVER)/opt/lms
+ @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type f -exec chmod 644 {} \;
+ @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type d -exec chmod 755 {} \;
+ $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/prefs/plugin
+ $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Logs
+ $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Cache
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/logitechmediaserver/files/logitechmediaserver.init b/package/logitechmediaserver/files/logitechmediaserver.init
index 86c3148b2..267c88bb9 100644
--- a/package/logitechmediaserver/files/logitechmediaserver.init
+++ b/package/logitechmediaserver/files/logitechmediaserver.init
@@ -12,7 +12,7 @@ autostart)
exec sh $0 start
;;
start)
- chown -R squeezeboxserver /opt/lms/prefs
+ chown -R squeezeboxserver /opt/lms/prefs /opt/lms/Logs /opt/lms/Cache
perl /opt/lms/slimserver.pl
;;
stop)