diff options
Diffstat (limited to 'net-misc/dante/files/dante-sockd-init-1.1.14-r2')
-rw-r--r-- | net-misc/dante/files/dante-sockd-init-1.1.14-r2 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net-misc/dante/files/dante-sockd-init-1.1.14-r2 b/net-misc/dante/files/dante-sockd-init-1.1.14-r2 index 161479a25c02..3c438f236084 100644 --- a/net-misc/dante/files/dante-sockd-init-1.1.14-r2 +++ b/net-misc/dante/files/dante-sockd-init-1.1.14-r2 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init-1.1.14-r2,v 1.1 2003/12/23 10:48:10 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/files/dante-sockd-init-1.1.14-r2,v 1.2 2004/03/06 03:29:17 vapier Exp $ SOCKD_OPT="-D" [ "${SOCKD_FORKDEPTH}" -gt 1 ] && SOCKD_OPT="${SOCKD_OPT} -N ${SOCKD_FORKDEPTH}" @@ -13,19 +13,19 @@ depend() { } checkconfig() { - # firstly check that it exists - if [ ! -f /etc/socks/sockd.conf ] ; then + # first check that it exists + if [ ! -f /etc/socks/sockd.conf ] ; then eerror "You need to setup /etc/socks/sockd.conf first" eerror "Examples are in /usr/share/doc/dante[version]/example" eerror "for info: info sockd.conf" return 1 fi - /usr/sbin/sockd -V - ret=$? - if [ $ret -ne 0 ]; then - eerror "Something is wrong with your configuration file" - return 1 - fi + /usr/sbin/sockd -V + ret=$? + if [ $ret -ne 0 ]; then + eerror "Something is wrong with your configuration file" + return 1 + fi } start() { |