1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net-mgmt/openvmps/files/vmpsd.in
Kurt Jaeger 9c33868595 net-mgmt/openvmps: add missing files pkg-descr, files/vmpsd.in
Submitted by:	Vladimir Pushkar <vladimir.pushkar@gmail.com>
2016-02-20 16:59:02 +00:00

30 lines
551 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: vmpsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name=vmpsd
rcvar=vmpsd_enable
load_rc_config $name
# Define these vmpsd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/vmpsd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
: ${vmpsd_enable:=NO} # Enable vmpsd
: ${vmpsd_program:=%%PREFIX%%/sbin/vmpsd} # Location of vmpsd
: ${vmpsd_flags=-f /usr/local/etc/vmps.db} # Flags to vmpsd program
command=%%PREFIX%%/sbin/${name}
run_rc_command $1