package: create and keep /etc/wtp to store certificates

This commit is contained in:
Daniel Golle 2016-08-24 10:25:00 +02:00
parent 5ae709f1bc
commit cd7e97dfce
1 changed files with 5 additions and 0 deletions

View File

@ -91,6 +91,10 @@ define Build/Compile
$(Build/Compile/kmod)
endef
define Package/freewtp/conffiles
/etc/wtp/
endef
define Package/freewtp/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/wtp.config $(1)/etc/config/wtp
@ -98,6 +102,7 @@ define Package/freewtp/install
$(INSTALL_BIN) ./files/wtp.init $(1)/etc/init.d/wtp
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wtp $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/wtp
endef
$(eval $(call BuildPackage,freewtp))