commit - 8ac701d6c8be4bc1866645a5c28f562d968a2d07
commit + 50338126e0a075e5843c9aad490244dc4993d516
blob - 769839533b88fdb4a5e9bb186112a8c4da151c65
blob + dbc7e87f72bd28f9a6726c7c4963f63053a1daf4
--- contrib/Debian/ngircd.init
+++ contrib/Debian/ngircd.init
#
# ngIRCd start and stop script for Debian-based systems
#
-# $Id: ngircd.init,v 1.4 2005/02/14 00:44:48 alex Exp $
+# $Id: ngircd.init,v 1.5 2005/06/01 21:51:11 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 -h "$0" && BASENAME=`readlink $0` || BASENAME=`basename $0`
+
test -f /etc/default/$BASENAME && . /etc/default/$BASENAME
test -x $DAEMON || exit 0