zerotier: add /etc/config/zerotier as configuration file
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 22 Jan 2020 11:44:36 +0000 (12:44 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 22 Jan 2020 11:46:54 +0000 (12:46 +0100)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
net/zerotier/Makefile

index c5725aad981fe2c53c024ec953514e2b31655462..12956e421388b8ef6c93b590ec7c97d5bc1495ba 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zerotier
 PKG_VERSION:=1.2.12
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_LICENSE:=GPL-3.0
 
@@ -56,6 +56,10 @@ endef
 TARGET_CFLAGS += -ffunction-sections -fdata-sections
 TARGET_LDFLAGS += -Wl,--gc-sections
 
+define Package/zerotier/conffiles
+/etc/config/zerotier
+endef
+
 define Package/zerotier/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/zerotier-one $(1)/usr/bin/