diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-06-19 10:53:12 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-06-19 10:53:12 +0000 |
commit | 1050f322693cc32e868ea9d5b38357742ff8852a (patch) | |
tree | 94488513e6514fbbdc71d571d026d7ba0f67acf1 /net/socks5 | |
parent | Drop runtime-dependency on teTeX now that we've got so many different flavours. (diff) |
Check if socks5.conf exists in startup-script.
PR: ports/68067
Submitted by: KIMURA Yasuhiro
Notes
Notes:
svn path=/head/; revision=111813
Diffstat (limited to 'net/socks5')
-rw-r--r-- | net/socks5/files/socks5.sh.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socks5/files/socks5.sh.sample b/net/socks5/files/socks5.sh.sample index 8f7373563771..77d485d3959c 100644 --- a/net/socks5/files/socks5.sh.sample +++ b/net/socks5/files/socks5.sh.sample @@ -7,7 +7,7 @@ fi case "$1" in start) - [ -x ${PREFIX}/bin/socks5 ] && ${PREFIX}/bin/socks5 && echo -n ' socks5' + [ -x ${PREFIX}/bin/socks5 -a -f ${PREFIX}/etc/socks5.conf ] && ${PREFIX}/bin/socks5 && echo -n ' socks5' ;; stop) killall socks5 && echo -n ' socks5' |