extras: Do not check_config() for glusterd in Debian init

Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
This commit is contained in:
Vijay Bellur 2010-10-13 04:09:15 +00:00 committed by Anand V. Avati
parent 681bfd7ff3
commit 2ec661c072

View File

@ -30,17 +30,9 @@ test -x $DAEMON || exit 0
# Define LSB log_* functions.
. /lib/lsb/init-functions
check_config()
{
if [ ! -f "$CONFIGFILE" ]; then
echo "Config file $CONFIGFILE is missing...exiting!"
exit 0
fi
}
do_start()
{
check_config;
pidofproc -p $PIDFILE $DAEMON >/dev/null
status=$?
if [ $status -eq 0 ]; then