commit - 8ca1e4d54861790040e430128326e5455420a39a
commit + f38eeedfd7d3960f0e545632cc9943be4091096b
blob - 206e2f0e445e2d0c0b61331bfc69e6c32b5b7ba6
blob + 899df714ffd5484978e8c1d048bbd17b02b95beb
--- contrib/Debian/ngircd.init
+++ contrib/Debian/ngircd.init
#
# 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 -f /etc/default/$BASENAME && . /etc/default/$BASENAME
+
test -x $DAEMON || exit 0
-test -f /etc/default/ngircd && . /etc/default/ngircd
-
Check_Config()
{
$DAEMON --configtest >/dev/null 2>&1