Browse Source

Merge pull request #6930 from mwarning/zerotier

zerotier: fix multiple instance handling and port setting
lilik-openwrt-22.03
Dirk Brenken 6 years ago
committed by GitHub
parent
commit
eeb418d88a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 22 deletions
  1. +2
    -5
      net/zerotier/Makefile
  2. +2
    -1
      net/zerotier/files/etc/config/zerotier
  3. +23
    -16
      net/zerotier/files/etc/init.d/zerotier

+ 2
- 5
net/zerotier/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=zerotier
PKG_VERSION:=1.2.12
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-3.0
@ -66,10 +66,7 @@ ifeq ($(CONFIG_ZEROTIER_ENABLE_SELFTEST),y)
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zerotier-selftest $(1)/usr/bin/
endif
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) files/zerotier.init $(1)/etc/init.d/zerotier
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) files/zerotier.config $(1)/etc/config/zerotier
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,zerotier))


net/zerotier/files/zerotier.config → net/zerotier/files/etc/config/zerotier View File


net/zerotier/files/zerotier.init → net/zerotier/files/etc/init.d/zerotier View File


Loading…
Cancel
Save