mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 14:13:27 +00:00
Update zerotier.sh
This commit is contained in:
29
zerotier.sh
29
zerotier.sh
@@ -1 +1,28 @@
|
||||
|
||||
#!/bin/sh
|
||||
#########################################################################
|
||||
#
|
||||
# ABOUT THIS PROGRAM
|
||||
#
|
||||
# NAME
|
||||
# ZeroTier Install Script
|
||||
#
|
||||
# SYNOPSIS
|
||||
# zerotier.sh
|
||||
#
|
||||
#########################################################################
|
||||
#
|
||||
# HISTORY
|
||||
#
|
||||
# Version: 1.1
|
||||
#
|
||||
# - 1.0 Martyn Watts, 25.06.2021 Initial Script Template Build
|
||||
# - 1.1 Michael Tanner, 28.09.2021 Implement ZeroTier Install Script
|
||||
#
|
||||
#########################################################################
|
||||
# Script to download and install 1Password 7.
|
||||
#
|
||||
curl -o /tmp/apps/ZT.pkg https://download.zerotier.com/dist/ZeroTier%20One.pkg
|
||||
installer -pkg /tmp/apps/ZT.pkg -target /
|
||||
rm -rf /tmp/apps/ZT.pkg
|
||||
sleep 2s
|
||||
/usr/local/bin/zerotier-cli join $@
|
||||
|
||||
Reference in New Issue
Block a user