Browse Source

Merge branch 'adamierymenko-dev' of ssh://shub-niggurath.zerotier.com/git/ZeroTierOne into adamierymenko-dev

pull/1/head
Adam Ierymenko 12 years ago
parent
commit
f19d1e253a
  1. 7
      ext/installfiles/mac/install.tmpl.sh

7
ext/installfiles/mac/install.tmpl.sh

@ -127,14 +127,9 @@ fi
echo 'Installing and (re-)starting zerotier-one service via launchctl...'
mv -f './Library/LaunchDaemons/com.zerotier.one.plist' '/Library/LaunchDaemons/'
if [ ! -z "`launchctl list | grep -F com.zerotier.one`" ]; then
launchctl unload /Library/LaunchDaemons/com.zerotier.one.plist
sleep 1
fi
launchctl load /Library/LaunchDaemons/com.zerotier.one.plist
sleep 1
/usr/bin/zerotier-cli info
# launchctl will restart us after exit if this is an online auto-update
cd /tmp
rm -rf _zt1tmp

Loading…
Cancel
Save