From 2ec661c0729370f0acd966fab0ae644f7e62bd71 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Wed, 13 Oct 2010 04:09:15 +0000 Subject: extras: Do not check_config() for glusterd in Debian init Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- extras/init.d/glusterd-Debian.in | 8 -------- 1 file changed, 8 deletions(-) diff --git a/extras/init.d/glusterd-Debian.in b/extras/init.d/glusterd-Debian.in index 86b66d424b1..918f8592c6e 100755 --- a/extras/init.d/glusterd-Debian.in +++ b/extras/init.d/glusterd-Debian.in @@ -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 -- cgit