kill the gui

This commit is contained in:
Jeff Becker 2020-11-16 16:13:39 -05:00 committed by Jason Rhinelander
parent 452cf13841
commit 300ce89278
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ SERVICE_NAME=`scutil_query Setup:/Network/Service/$SERVICE_GUID \
# tell dns to be "empty" so that it's reset
networksetup -setdnsservers "$SERVICE_NAME" empty
# kill the gui
killall LokinetGUI
# Prevent restarting on exit
[ -e /var/lib/lokinet ] && touch /var/lib/lokinet/suspend-launchd-service
# kill it