Kaynağa Gözat

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

svn:r6915
Andrew Lewman 19 yıl önce
ebeveyn
işleme
1ee13cff67
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      contrib/osx/TorPostflight

+ 1 - 0
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