commit f632ca2645dc90ed9b5e5fdfc0ed90fbc937358f from: Alexander Barton date: Mon Sep 06 00:36:49 2004 UTC ed name of "default file" for ngircd-full package. And do the test if the binary is executable after reading this file. [From HEAD]. commit - 12497e1dd20b946ead3196ec359f319d89c68dc9 commit + f632ca2645dc90ed9b5e5fdfc0ed90fbc937358f blob - af6436bb27932137fc78058f5c6fb6128b89c7b5 blob + 2cf968ab31fa38afc6700ff912640f33e3138aa4 --- ChangeLog +++ ChangeLog @@ -12,6 +12,9 @@ ngircd 0.8-CVS + - Debian: Fxied the name of the "default file" in the init script for + ngircd-full packages. And do the test if the binary is executable after + reading this file. - Enhanced the "test suite": please have a look at src/testsuite/README! ngircd 0.8.0 (2004-06-26) @@ -534,4 +537,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.233.2.6 2004/09/04 20:50:53 alex Exp $ +$Id: ChangeLog,v 1.233.2.7 2004/09/06 00:36:49 alex Exp $ blob - 206e2f0e445e2d0c0b61331bfc69e6c32b5b7ba6 blob + 57fb056ecc8f08ffe67324eeff2839e8db927fe8 --- contrib/Debian/ngircd.init +++ contrib/Debian/ngircd.init @@ -2,19 +2,20 @@ # # 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.1.2.1 2004/09/06 00:36:49 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 -f /etc/default/$BASENAME && . /etc/default/$BASENAME + test -x $DAEMON || exit 0 -test -f /etc/default/ngircd && . /etc/default/ngircd - Check_Config() { $DAEMON --configtest >/dev/null 2>&1