This allows the system administrator to overwrite the DAEMON variable in
/etc/defaults/<name> and to use this init script even when the default
"/usr/sbin/ngircd" doesn't exist on the system.
#
# Defaults for ngIRCd start and stop script
#
-# $Id: ngircd.default,v 1.1 2003/12/31 17:20:11 alex Exp $
-#
# Parameters to pass to the ngircd daemon on startup, see ngircd(8) for
# possible options (default: empty).
#!/bin/sh
#
# ngIRCd start and stop script for Debian-based systems
-# Copyright 2008-2010 Alexander Barton <alex@barton.de>
+# Copyright 2008-2013 Alexander Barton <alex@barton.de>
#
### BEGIN INIT INFO
STARTTIME=1
DIETIME=10
-test -x $DAEMON || exit 5
-
test -h "$0" && me=`readlink $0` || me="$0"
BASENAME=`basename $me`
test -r /etc/default/$BASENAME && . /etc/default/$BASENAME
+test -x $DAEMON || exit 5
+
# LSB compatibility functions that become used if there is no local
# include file available.
log_daemon_msg() {