aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/volman
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-01-07 13:15:00 +0800
committereadler <eadler@FreeBSD.org>2012-01-07 13:15:00 +0800
commit12501ed4e2081051bab603d17e8c339fd9085f46 (patch)
tree1030433c991a64d4012cea7d47a3d6a6a86a6b8c /sysutils/volman
parent6a5093300fe5726c69f04a1201a0df11764617a4 (diff)
downloadfreebsd-ports-gnome-12501ed4e2081051bab603d17e8c339fd9085f46.tar.gz
freebsd-ports-gnome-12501ed4e2081051bab603d17e8c339fd9085f46.tar.zst
freebsd-ports-gnome-12501ed4e2081051bab603d17e8c339fd9085f46.zip
- Fix rc script
Pointed out by: dougb
Diffstat (limited to 'sysutils/volman')
-rw-r--r--sysutils/volman/files/volmand.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/volman/files/volmand.in b/sysutils/volman/files/volmand.in
index 4c5eaf05e8ca..149b470f33d9 100644
--- a/sysutils/volman/files/volmand.in
+++ b/sysutils/volman/files/volmand.in
@@ -10,8 +10,12 @@
name="volmand"
rcvar=`set_rcvar`
-command="%%PREFIX%%/sbin/volmand"
+
load_rc_config $name
+
+: ${volmand_enable:="NO"}
+
+command="%%PREFIX%%/sbin/volmand"
pidfile="/var/run/volmand.pid"
run_rc_command "$1"