diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-18 22:43:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-18 22:43:46 +0000 |
commit | e1e7ffcae7eb03d9e9420049addad6dce1643f74 (patch) | |
tree | c0707ee637c3c4aad27496bed26a2b7cbfe3107f /contrib/osx/TorPostflight | |
parent | 71c7733154a4ee004a49f0de4e378c3a52cf377f (diff) | |
download | tor-e1e7ffcae7eb03d9e9420049addad6dce1643f74.tar tor-e1e7ffcae7eb03d9e9420049addad6dce1643f74.tar.gz |
Make OSX install happier about running on non-default volume.
svn:r3777
Diffstat (limited to 'contrib/osx/TorPostflight')
-rw-r--r-- | contrib/osx/TorPostflight | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight index e3689589a..284fcfc30 100644 --- a/contrib/osx/TorPostflight +++ b/contrib/osx/TorPostflight @@ -56,4 +56,10 @@ if [ ! -e /var/log/tor -o -L /var/log/tor ]; then cd /var/log rm -f tor ln -sf $LOGDIR tor -fi
\ No newline at end of file +fi + +if [ ! -d /Library/StartupItems/Tor ]; then + mkdir -p /Library/StartupItems/Tor +fi +rm -f /Library/StartupItems/Tor/Tor.loc +echo "$TARGET" > /Library/StartupItems/Tor/Tor.loc |