summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/slurm/files/slurmdbd.initd')
-rw-r--r--sys-cluster/slurm/files/slurmdbd.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-cluster/slurm/files/slurmdbd.initd b/sys-cluster/slurm/files/slurmdbd.initd
index c8548b663e8d..054316fdbe0b 100644
--- a/sys-cluster/slurm/files/slurmdbd.initd
+++ b/sys-cluster/slurm/files/slurmdbd.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -8,9 +8,9 @@ extra_commands="reload"
[[ -f /etc/conf.d/slurm ]] && . /etc/conf.d/slurm
depend() {
- local _need="net"
+ local _need
[[ ${SLURM_USE_MUNGE} -ne 0 ]] && _need="${_need} munged"
- [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind"
+ [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind"
after logger
need ${_need}
}