Commit 1ee13cff authored by Andrew Lewman's avatar Andrew Lewman
Browse files

OSX gets confused when you have two ways to start the same program.

parent 8ae177da
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment