treewide: add conffiles

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
Huangbin Zhan
2020-05-09 05:43:57 +08:00
committed by zhanhb
parent 0206a87146
commit 0ec746ccb6
34 changed files with 168 additions and 37 deletions
+5 -1
View File
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pservice
PKG_VERSION:=2017-08-29
PKG_RELEASE=2
PKG_RELEASE=3
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
@@ -19,6 +19,10 @@ endef
define Build/Compile
endef
define Package/pservice/conffiles
/etc/config/pservice
endef
define Package/pservice/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/etc/config
$(INSTALL_BIN) ./files/pservice.init $(1)/etc/init.d/pservice