diff options
-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' |