summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-27 03:10:23 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-27 03:10:23 +0000
commit1ee13cff678b8681aa4940700197fe373b83b953 (patch)
tree8c2090bd9bd38d05db64acfb524000fc3341ef8a
parent8ae177dad68a1ddd1404dfd663ddfb25f2689fd6 (diff)
downloadtor-1ee13cff678b8681aa4940700197fe373b83b953.tar.gz
tor-1ee13cff678b8681aa4940700197fe373b83b953.zip
OSX gets confused when you have two ways to start the same program.
svn:r6915
-rw-r--r--contrib/osx/TorPostflight1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight
index 9f8d990b33..580b97fb02 100644
--- a/contrib/osx/TorPostflight
+++ b/contrib/osx/TorPostflight
@@ -124,6 +124,7 @@ fi
# Determine how to start by OS Version
if [ $OS = "tiger" ]; then
if [ -f $PACKAGE_PATH/Contents/Resources/net.freehaven.tor.plist ]; then
+ rm -f /Library/StartupItems/Tor
cp $PACKAGE_PATH/Contents/Resources/net.freehaven.tor.plist /System/Library/LaunchDaemons/net.freehaven.tor.plist
chmod 644 /System/Library/LaunchDaemons/net.freehaven.tor.plist
echo "#--START required settings--" >> $TARGET/torrc