Fxied name of "default file" for ngircd-full package. And do the test if

the binary is executable after reading this file.
This commit is contained in:
Alexander Barton 2004-09-06 00:32:20 +00:00
parent 8ca1e4d548
commit f38eeedfd7
1 changed files with 4 additions and 3 deletions

View File

@ -2,18 +2,19 @@
#
# ngIRCd start and stop script for Debian-based systems
#
# $Id: ngircd.init,v 1.1 2003/12/31 17:20:11 alex Exp $
# $Id: ngircd.init,v 1.2 2004/09/06 00:32:20 alex Exp $
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/ngircd
NAME=ngIRCd
BASENAME=`basename $0`
DESC="IRC daemon"
PARAMS=""
test -x $DAEMON || exit 0
test -f /etc/default/$BASENAME && . /etc/default/$BASENAME
test -f /etc/default/ngircd && . /etc/default/ngircd
test -x $DAEMON || exit 0
Check_Config()
{