Make install scripts also symlink zerotier-idtool script, and doc updates.

This commit is contained in:
Adam Ierymenko 2014-08-07 06:25:01 -07:00
commit b7389995f4
3 changed files with 10 additions and 8 deletions

View file

@ -77,8 +77,9 @@ fi
echo 'Installing zerotier-cli command line utility...'
rm -f /usr/bin/zerotier-cli
rm -f /usr/bin/zerotier-cli /usr/bin/zerotier-idtool
ln -sf /var/lib/zerotier-one/zerotier-one /usr/bin/zerotier-cli
ln -sf /var/lib/zerotier-one/zerotier-one /usr/bin/zerotier-idtool
echo 'Installing and (re-)starting zerotier-one daemon...'

View file

@ -109,8 +109,9 @@ ln -sf "$ztapp/Contents/Info.plist" "$zthome/shutdownIfUnreadable"
echo 'Installing zerotier-cli command line utility...'
rm -f /usr/bin/zerotier-cli
rm -f /usr/bin/zerotier-cli /usr/bin/zerotier-idtool
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" /usr/bin/zerotier-cli
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" /usr/bin/zerotier-idtool
# This lets the install helper AppleScript thingy go ahead and authorize the
# user after the installer is done, skiping that step for the user who did