From 94de22c9aca662924427e919de93c17886ff0d04 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Tue, 28 Sep 2021 11:36:47 +0100 Subject: [PATCH] Update zerotier.sh --- zerotier.sh | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/zerotier.sh b/zerotier.sh index 8b13789..d924edf 100644 --- a/zerotier.sh +++ b/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 $@