mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 01:40:27 +00:00
Fxied name of "default file" for ngircd-full package. And do the test if
the binary is executable after reading this file.
This commit is contained in:
parent
8ca1e4d548
commit
f38eeedfd7
@ -2,18 +2,19 @@
|
|||||||
#
|
#
|
||||||
# ngIRCd start and stop script for Debian-based systems
|
# 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
|
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 -x $DAEMON || exit 0
|
test -f /etc/default/$BASENAME && . /etc/default/$BASENAME
|
||||||
|
|
||||||
test -f /etc/default/ngircd && . /etc/default/ngircd
|
test -x $DAEMON || exit 0
|
||||||
|
|
||||||
Check_Config()
|
Check_Config()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user