forked from ports/contrib
tor: fix tor.rc file paths for moved configuration
This commit is contained in:
parent
e28f1ff497
commit
4fcad144af
@ -6,7 +6,7 @@
|
||||
|
||||
name=tor
|
||||
version=0.2.0.21-rc
|
||||
release=1
|
||||
release=2
|
||||
source=(http://tor.eff.org/dist/tor-$version.tar.gz \
|
||||
tor.rc)
|
||||
|
||||
|
@ -8,8 +8,8 @@ DAEMON=tor
|
||||
RUN_AS_USER=_tor
|
||||
|
||||
# Check for configuration files
|
||||
[ -f /etc/tor/tor-tsocks.conf ] || exit 0
|
||||
[ -f /etc/tor/torrc ] || exit 0
|
||||
[ -f /usr/etc/tor/tor-tsocks.conf ] || exit 1
|
||||
[ -f /usr/etc/tor/torrc ] || exit 1
|
||||
|
||||
# If you have to edit this section for this or any other
|
||||
# port useage let me know, with a patch or added lines,
|
||||
|
Loading…
x
Reference in New Issue
Block a user