From cd7e97dfcefd7a8470ee11c5bdfec2f0da01e8c6 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 24 Aug 2016 10:25:00 +0200 Subject: [PATCH] package: create and keep /etc/wtp to store certificates --- openwrt/freewtp/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openwrt/freewtp/Makefile b/openwrt/freewtp/Makefile index 647d288..5ddd681 100644 --- a/openwrt/freewtp/Makefile +++ b/openwrt/freewtp/Makefile @@ -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))