mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-21 10:01:46 +00:00
Change directory structure for DSM packages
This commit is contained in:
parent
e87bf87046
commit
3c59de7c00
@ -26,8 +26,8 @@ generate_package_sources()
|
|||||||
# Generate the SPK
|
# Generate the SPK
|
||||||
|
|
||||||
# Copy package scripts to spksrc so they're accessible to container
|
# Copy package scripts to spksrc so they're accessible to container
|
||||||
rm -rf spksrc/ztpkg-dsm6
|
rm -rf spksrc/dsm6-pkg
|
||||||
cp -rf ztpkg-dsm6 spksrc/ztpkg-dsm6
|
cp -rf dsm6-pkg spksrc/dsm6-pkg
|
||||||
|
|
||||||
TAB="$(printf '\t')"
|
TAB="$(printf '\t')"
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ cat > spksrc/spk/zerotier/Makefile <<- EOM
|
|||||||
SPK_NAME = zerotier
|
SPK_NAME = zerotier
|
||||||
SPK_VERS = $ZTO_VER
|
SPK_VERS = $ZTO_VER
|
||||||
SPK_REV = $PKG_REV
|
SPK_REV = $PKG_REV
|
||||||
SPK_ICON = /spksrc/ztpkg-dsm6/PACKAGE_ICON_256.png
|
SPK_ICON = /spksrc/dsm6-pkg/PACKAGE_ICON_256.png
|
||||||
DEPENDS = cross/zerotier
|
DEPENDS = cross/zerotier
|
||||||
MAINTAINER = ZeroTier, Inc.
|
MAINTAINER = ZeroTier, Inc.
|
||||||
DESCRIPTION = $ZTO_DESC
|
DESCRIPTION = $ZTO_DESC
|
||||||
@ -114,7 +114,7 @@ REQUIRED_DSM = 6.2.4
|
|||||||
|
|
||||||
ENV += ZT_SYNOLOGY=1
|
ENV += ZT_SYNOLOGY=1
|
||||||
|
|
||||||
SSS_SCRIPT = ../../ztpkg-dsm6/start-stop-status.sh
|
SSS_SCRIPT = ../../dsm6-pkg/start-stop-status.sh
|
||||||
|
|
||||||
PRE_STRIP_TARGET = zerotier_install
|
PRE_STRIP_TARGET = zerotier_install
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
@ -48,7 +48,7 @@ apply_routes()
|
|||||||
# Wait for ZT service to come online before attempting queries
|
# Wait for ZT service to come online before attempting queries
|
||||||
sleep 15
|
sleep 15
|
||||||
|
|
||||||
# Loop until killed, every two minutes check for required routes and add if needed
|
# Loop until killed, check for required routes and add if needed
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
NETWORK_COUNT=$(zerotier-cli -j listnetworks | jq -r '. | length')
|
NETWORK_COUNT=$(zerotier-cli -j listnetworks | jq -r '. | length')
|
Loading…
x
Reference in New Issue
Block a user