diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-11-18 14:17:22 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-11-18 14:17:22 +0000 |
commit | 66d4022e21ca80f7916e5704a43a14c9b6f9fd68 (patch) | |
tree | 97b040189d23f04587833ecd4353c1c9eb8cff45 /app-misc/dnetc/files | |
parent | Fixed gal dep (diff) | |
download | gentoo-2-66d4022e21ca80f7916e5704a43a14c9b6f9fd68.tar.gz gentoo-2-66d4022e21ca80f7916e5704a43a14c9b6f9fd68.tar.bz2 gentoo-2-66d4022e21ca80f7916e5704a43a14c9b6f9fd68.zip |
updated initscript
Diffstat (limited to 'app-misc/dnetc/files')
-rw-r--r-- | app-misc/dnetc/files/dnetc.init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/dnetc/files/dnetc.init b/app-misc/dnetc/files/dnetc.init index 736578042060..c72b01520067 100644 --- a/app-misc/dnetc/files/dnetc.init +++ b/app-misc/dnetc/files/dnetc.init @@ -1,10 +1,12 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/files/dnetc.init,v 1.2 2002/11/18 10:45:11 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/files/dnetc.init,v 1.3 2002/11/18 14:17:22 aliz Exp $ start() { + ebegin "Starting distributed.net client" if [ -e /opt/distributed.net/dnetc.ini ]; then + # use ini file /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then # email adress from config |