11 changed files with 7 additions and 13 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
zthome="/Library/Application Support/ZeroTier/One" |
||||
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$zthome" |
||||
|
||||
# If the app has been deleted, uninstall the service |
||||
cd "$zthome" |
||||
if [ -L './shutdownIfUnreadable' -a ! -f "`readlink ./shutdownIfUnreadable`" ]; then |
||||
rm -f /tmp/ZeroTierOneUninstall.log |
||||
/bin/bash "$zthome/uninstall.sh" >/tmp/ZeroTierOneUninstall.log 2>&1 |
||||
exit 0 |
||||
fi |
||||
export PATH="$zthome:/bin:/usr/bin:/sbin:/usr/sbin" |
||||
|
||||
# Launch ZeroTier One (not as daemon... launchd monitors it) |
||||
exec zerotier-one |
||||
|
||||
Loading…
Reference in new issue