commit - 2e794a6943a74f2ba4f3769703e3500fe9008461
commit + e96b4aad2ecac39fbac43d1eb96f9322bd3b2c44
blob - dbc7e87f72bd28f9a6726c7c4963f63053a1daf4
blob + 62373868818b6882e72048481202b270959cdee9
--- contrib/Debian/ngircd.init
+++ contrib/Debian/ngircd.init
#
# ngIRCd start and stop script for Debian-based systems
#
-# $Id: ngircd.init,v 1.5 2005/06/01 21:51:11 alex Exp $
+# $Id: ngircd.init,v 1.6 2005/07/26 19:37:18 alex Exp $
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="IRC daemon"
PARAMS=""
-test -h "$0" && BASENAME=`readlink $0` || BASENAME=`basename $0`
+test -h "$0" && me=`readlink $0` || me="$0"
+BASENAME=`basename $me`
test -f /etc/default/$BASENAME && . /etc/default/$BASENAME