Support all resolvers
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
exec 2>/dev/null
|
||||
|
||||
/bin/launchctl load \
|
||||
'/Library/LaunchAgents/com.opendns.osx.DNSCryptMenuBar.plist'
|
||||
'/Library/LaunchAgents/com.github.dnscrypt-osxclient.DNSCryptMenuBar.plist'
|
||||
|
||||
/bin/launchctl start com.opendns.osx.DNSCryptMenuBar
|
||||
/bin/launchctl start com.github.dnscrypt-osxclient.DNSCryptMenuBar
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -6,6 +6,9 @@ exec 2>/dev/null
|
||||
/bin/launchctl remove com.opendns.osx.RoamingClientConfigUpdater
|
||||
/bin/rm -f /Library/LaunchDaemons/com.opendns.osx.Roaming*.plist
|
||||
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptMenuBar
|
||||
/bin/rm -f /Library/LaunchDaemons/com.opendns.osx.DNSCryptMenuBar.plist
|
||||
|
||||
/bin/launchctl stop com.opendns.osx.DNSCryptMenuBar
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptMenuBar
|
||||
|
||||
|
||||
@@ -28,10 +28,10 @@ fi
|
||||
rm -f '/Library/Application Support/DNSCrypt/control/plugin-parental-controls.enabled'
|
||||
rm -f '/Library/Application Support/DNSCrypt/control/plugin-lockin.enabled'
|
||||
|
||||
for service in com.opendns.osx.DNSCryptAfterboot \
|
||||
com.opendns.osx.DNSCryptConsoleChange \
|
||||
com.opendns.osx.DNSCryptControlChange \
|
||||
com.opendns.osx.DNSCryptNetworkChange; do
|
||||
for service in com.github.dnscrypt-osxclient.DNSCryptAfterboot \
|
||||
com.github.dnscrypt-osxclient.DNSCryptConsoleChange \
|
||||
com.github.dnscrypt-osxclient.DNSCryptControlChange \
|
||||
com.github.dnscrypt-osxclient.DNSCryptNetworkChange; do
|
||||
/bin/launchctl load "/Library/LaunchDaemons/${service}.plist"
|
||||
/bin/launchctl start "$service"
|
||||
done
|
||||
|
||||
@@ -6,14 +6,24 @@ if [ -x /usr/bin/pkill ]; then
|
||||
/usr/bin/pkill -f '/Applications/System Preferences.app'
|
||||
fi
|
||||
|
||||
/bin/rm -rf '/Library/Application Support/DNSCrypt Updater'
|
||||
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptConfigUpdater
|
||||
/bin/rm -f '/Library/LaunchDaemons/com.opendns.osx.DNSCryptConfigUpdater.plist'
|
||||
/bin/rm -rf '/Library/Application Support/DNSCrypt Updater'
|
||||
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptAfterboot
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptConsoleChange
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptControlChange
|
||||
/bin/launchctl remove com.opendns.osx.DNSCryptNetworkChange
|
||||
/bin/rm -f /Library/LaunchDaemons/com.opendns.osx.DNSCrypt*.plist
|
||||
|
||||
/bin/launchctl remove com.github.dnscrypt-osxclient.DNSCryptConfigUpdater
|
||||
/bin/rm -f '/Library/LaunchDaemons/com.github.dnscrypt-osxclient.DNSCryptConfigUpdater.plist'
|
||||
|
||||
/bin/launchctl remove com.github.dnscrypt-osxclient.DNSCryptAfterboot
|
||||
/bin/launchctl remove com.github.dnscrypt-osxclient.DNSCryptConsoleChange
|
||||
/bin/launchctl remove com.github.dnscrypt-osxclient.DNSCryptControlChange
|
||||
/bin/launchctl remove com.github.dnscrypt-osxclient.DNSCryptNetworkChange
|
||||
|
||||
/bin/rm -f /var/run/dnscrypt*.lock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user