From f6f94c878be7a252e143cd01eb4ce7865851de7f Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sun, 10 Sep 2006 20:53:51 +0000 Subject: Fix init script bugs git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2232 ce84e21b-d406-0410-9b95-82705330c041 --- debian/buildsys/2.3/bcfg2.init | 2 +- debian/buildsys/common/bcfg2.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/buildsys/2.3/bcfg2.init b/debian/buildsys/2.3/bcfg2.init index e6781208d..9dd6c87a1 100644 --- a/debian/buildsys/2.3/bcfg2.init +++ b/debian/buildsys/2.3/bcfg2.init @@ -14,7 +14,7 @@ BCFG2_INIT=0 # Include default startup configuration if exists test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 -["$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0 +[ "$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0 case "$1" in start) diff --git a/debian/buildsys/common/bcfg2.init b/debian/buildsys/common/bcfg2.init index 1c2836c7a..8476c3718 100644 --- a/debian/buildsys/common/bcfg2.init +++ b/debian/buildsys/common/bcfg2.init @@ -33,7 +33,7 @@ BCFG2_INIT=0 # Include default startup configuration if exists test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 -["$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0 +[ "$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0 # Exit if bcfg2 doesn't exist and is not executable test -x $BCFG2 || exit 5 -- cgit v1.2.3-1-g7c22