summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2015-03-25 13:41:17 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2015-03-25 13:41:17 -0400
commitaabf5df5e8683dd91ca3310e0d790f0376d8e5bd (patch)
treeb9ab7703994bbcec63b52ed46f2453f1f159ffa2 /rpm
parent23f55a53c3279a0a5f44aaa720ba4450889165c9 (diff)
downloadmongo-aabf5df5e8683dd91ca3310e0d790f0376d8e5bd.tar.gz
SERVER-16731 Remove unused DBPATH init script variable
Diffstat (limited to 'rpm')
-rwxr-xr-xrpm/init.d-mongod1
-rw-r--r--rpm/init.d-mongod.suse1
2 files changed, 0 insertions, 2 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 59478ce5018..563f4fd0e3f 100755
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -19,7 +19,6 @@ CONFIGFILE="/etc/mongod.conf"
OPTIONS=" -f $CONFIGFILE"
SYSCONFIG="/etc/sysconfig/mongod"
-DBPATH=`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*(storage\.)?dbpath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d '[:blank:]'`
PIDFILEPATH=`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*(processManagement\.)?pidfilepath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d '[:blank:]'`
mongod=${MONGOD-/usr/bin/mongod}
diff --git a/rpm/init.d-mongod.suse b/rpm/init.d-mongod.suse
index 6b704d1a7c8..73de7487df8 100644
--- a/rpm/init.d-mongod.suse
+++ b/rpm/init.d-mongod.suse
@@ -25,7 +25,6 @@ CONFIGFILE="/etc/mongod.conf"
OPTIONS=" -f $CONFIGFILE"
SYSCONFIG="/etc/sysconfig/mongod"
-DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
PIDFILEPATH=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
mongod=${MONGOD-/usr/bin/mongod}