diff options
author | Richard Kreuter <richard@10gen.com> | 2010-03-08 14:32:44 -0500 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-03-08 14:32:44 -0500 |
commit | 09f3ed3808adf50dde49338317d715b5a503830d (patch) | |
tree | f99c58924f76b11145c3b148811c6a9e01835107 /debian/init.d | |
parent | d22498af7ace74d0a0228cbedd54180203898b14 (diff) | |
download | mongo-09f3ed3808adf50dde49338317d715b5a503830d.tar.gz |
Support an ENABLE_MONGODB knob in /etc/default on Debianoids. SERVER-709
Diffstat (limited to 'debian/init.d')
-rw-r--r-- | debian/init.d | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/init.d b/debian/init.d index bfa9c39609e..d735ee39b66 100644 --- a/debian/init.d +++ b/debian/init.d @@ -68,6 +68,10 @@ if test ! -x $DAEMON; then exit 0 fi +if test "x$ENABLE_MONGODB" != "xyes"; then + exit 0 +fi + if test ! -x $DATA; then mkdir $DATA || exit 0 fi |