1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00

Fixed handling of symbolic links as used in /etc/rc.X directories.

This commit is contained in:
Alexander Barton 2005-06-01 21:51:11 +00:00
parent 8ac701d6c8
commit 50338126e0

View File

@ -2,16 +2,17 @@
# #
# ngIRCd start and stop script for Debian-based systems # 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 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/ngircd DAEMON=/usr/sbin/ngircd
NAME=ngIRCd NAME=ngIRCd
BASENAME=`basename $0`
DESC="IRC daemon" DESC="IRC daemon"
PARAMS="" PARAMS=""
test -h "$0" && BASENAME=`readlink $0` || BASENAME=`basename $0`
test -f /etc/default/$BASENAME && . /etc/default/$BASENAME test -f /etc/default/$BASENAME && . /etc/default/$BASENAME
test -x $DAEMON || exit 0 test -x $DAEMON || exit 0