diff options
Diffstat (limited to 'package/logitechmediaserver')
-rw-r--r-- | package/logitechmediaserver/Makefile | 5 | ||||
-rw-r--r-- | package/logitechmediaserver/files/logitechmediaserver.init | 2 |
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) |