summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-03-08 20:19:51 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-03-08 20:19:51 +0000
commit05eb7b35cf0c2a86707005ca0e04a6cd5b5ba8f9 (patch)
tree56e3b80f0a80380b3ccd9c0bcc2ff0a10abb04ec /debian
parent46c6d92a36b8826cd4616fd5d8457f8ad452f346 (diff)
downloadbcfg2-05eb7b35cf0c2a86707005ca0e04a6cd5b5ba8f9.tar.gz
bcfg2-05eb7b35cf0c2a86707005ca0e04a6cd5b5ba8f9.tar.bz2
bcfg2-05eb7b35cf0c2a86707005ca0e04a6cd5b5ba8f9.zip
Init script test fixes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2919 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian')
-rw-r--r--debian/buildsys/2.3/bcfg2.init2
-rw-r--r--debian/buildsys/common/bcfg2.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/buildsys/2.3/bcfg2.init b/debian/buildsys/2.3/bcfg2.init
index dfa6f014e..9ef9f2b0f 100644
--- a/debian/buildsys/2.3/bcfg2.init
+++ b/debian/buildsys/2.3/bcfg2.init
@@ -32,7 +32,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" -eq "0" -o "$BCFG2_INIT" -eq 0 ] && exit 0
# Exit if bcfg2 doesn't exist and is not executable
test -x $BCFG2 || exit 5
diff --git a/debian/buildsys/common/bcfg2.init b/debian/buildsys/common/bcfg2.init
index ca6262afc..db7fd1349 100644
--- a/debian/buildsys/common/bcfg2.init
+++ b/debian/buildsys/common/bcfg2.init
@@ -32,7 +32,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" -eq "0" -o "$BCFG2_INIT" -eq 0 ] && exit 0
# Exit if bcfg2 doesn't exist and is not executable
test -x $BCFG2 || exit 5