summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-10-13 04:09:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-26 03:01:41 -0700
commit2ec661c0729370f0acd966fab0ae644f7e62bd71 (patch)
treecf78a625aa4c30f5e88516d1aef097d5aeed89a5 /extras
parent681bfd7ff32202314a5cdf8a8e13478c6c45acdb (diff)
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
Diffstat (limited to 'extras')
-rwxr-xr-xextras/init.d/glusterd-Debian.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/extras/init.d/glusterd-Debian.in b/extras/init.d/glusterd-Debian.in
index 86b66d424..918f8592c 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