Browse Source

fixup initscript for tvheadend

Waldemar Brodkorb 9 years ago
parent
commit
43c45f39eb
2 changed files with 5 additions and 2 deletions
  1. 4 1
      package/tvheadend/Makefile
  2. 1 1
      package/tvheadend/files/tvheadend.init

+ 4 - 1
package/tvheadend/Makefile

@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		tvheadend
 PKG_VERSION:=		679b7797128b8979145dc2a0a3c54ea513a0466b
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_DESCR:=		tv streaming server
 PKG_SECTION:=		mm/video
 PKG_BUILDDEP:=		openssl
@@ -20,7 +20,10 @@ XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
 
 tvheadend-install:
 	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/bin
+	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/share
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/tvheadend \
 		$(IDIR_TVHEADEND)/usr/bin
+	$(CP) $(WRKINST)/usr/share/tvheadend \
+		$(IDIR_TVHEADEND)/usr/share
 
 include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 1 - 1
package/tvheadend/files/tvheadend.init

@@ -12,7 +12,7 @@ autostart)
 	exec sh $0 start
 	;;
 start)
-	tvheadend &
+	/usr/bin/tvheadend --noacl &
 	;;
 stop)
 	kill $(pgrep -f /usr/bin/tvheadend)