[Pkg-irc-commits] r147 - /packages/inspircd/trunk/debian/inspircd.init
nenolod-guest at users.alioth.debian.org
nenolod-guest at users.alioth.debian.org
Thu Jan 24 21:48:40 UTC 2008
Author: nenolod-guest
Date: Thu Jan 24 21:48:40 2008
New Revision: 147
URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=147
Log:
Only print warning on start action.
Modified:
packages/inspircd/trunk/debian/inspircd.init
Modified: packages/inspircd/trunk/debian/inspircd.init
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/inspircd.init?rev=147&op=diff
==============================================================================
--- packages/inspircd/trunk/debian/inspircd.init (original)
+++ packages/inspircd/trunk/debian/inspircd.init Thu Jan 24 21:48:40 2008
@@ -20,11 +20,6 @@
if [ -f "/etc/default/inspircd" ]; then
. /etc/default/inspircd
-fi
-
-if [ "$INSPIRCD_ENABLED" != "1" ]; then
- echo -n "Please configure inspircd first and edit /etc/default/inspircd, otherwise inspircd won't start"
- exit 0
fi
if [ ! -x "$IRCD" ]; then exit 0; fi
@@ -63,6 +58,10 @@
case "$1" in
start)
+ if [ "$INSPIRCD_ENABLED" != "1" ]; then
+ echo -n "Please configure inspircd first and edit /etc/default/inspircd, otherwise inspircd won't start"
+ exit 0
+ fi
echo -n "Starting Inspircd... "
start_ircd && echo "done."
sleep 1s
More information about the Pkg-irc-commits
mailing list