freebsd-ports/net-mgmt/openvmps/files/vmpsd.sh
Doug Barton c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00

34 lines
760 B
Bash

#!/bin/sh
# Start or stop vmpsd
# $FreeBSD$
# PROVIDE: vmpsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# NOTE for FreeBSD 5.0+:
# If you want this script to start with the base rc scripts
# move imapd.sh to /etc/rc.d/vmpsd
prefix=%%PREFIX%%
# 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
#
[ -z "$vmpsd_enable" ] && vmpsd_enable="NO" # Enable vmpsd
#vmpsd_program="${prefix}/sbin/vmpsd" # Location of vmpsd
[ -z "$vmpsd_flags" ] && vmpsd_flags="-f /usr/local/etc/vmps.db" # Flags to vmpsd program
. %%RC_SUBR%%
name="vmpsd"
rcvar=`set_rcvar`
command="${prefix}/sbin/${name}"
load_rc_config $name
run_rc_command "$1"