summaryrefslogtreecommitdiff
path: root/contrib/osx/uninstall_tor_bundle.sh
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-16 13:58:10 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-16 13:58:10 +0000
commit1478636f549d0791da78ef1cdd93cc5a44c3e8c2 (patch)
tree95a9aefc712341db476195e8efc381d82ed83b62 /contrib/osx/uninstall_tor_bundle.sh
parent886b10bbe2aa61fb325dec6aaae13f4804d86e2b (diff)
downloadtor-1478636f549d0791da78ef1cdd93cc5a44c3e8c2.tar.gz
tor-1478636f549d0791da78ef1cdd93cc5a44c3e8c2.zip
Change the way Tor starts on OSX 10.4 vs pre-10.4. 10.4 Tor now uses
launchd for current and forward compatibility. svn:r6766
Diffstat (limited to 'contrib/osx/uninstall_tor_bundle.sh')
-rwxr-xr-xcontrib/osx/uninstall_tor_bundle.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/osx/uninstall_tor_bundle.sh b/contrib/osx/uninstall_tor_bundle.sh
index 9d69d09e54..eb70cf7764 100755
--- a/contrib/osx/uninstall_tor_bundle.sh
+++ b/contrib/osx/uninstall_tor_bundle.sh
@@ -134,7 +134,10 @@ niutil -destroy . /users/$TOR_USER
## clean up
echo ". Cleaning up"
rm -rf $TEMP_BOM_CONTENTS
-rm -rf /Library/Privoxy/ /Library/StartupItems/Tor/ /Library/StartupItems/Privoxy/ /Library/Tor/
+rm -rf /Library/Privoxy/ /Library/StartupItems/Privoxy/ /Library/Tor/ /Library/StartupItems/Tor/
+if [ -f /System/Library/LaunchDaemons/net.freehaven.tor.plist ]; then
+ rm /System/Library/LaunchDaemons/net.freehaven.tor.plist
+fi
echo ". Finished"