aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/openvmps
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/openvmps')
-rw-r--r--net-mgmt/openvmps/files/vmpsd.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/net-mgmt/openvmps/files/vmpsd.sh b/net-mgmt/openvmps/files/vmpsd.sh
index 131bcd845d28..d11753110e01 100644
--- a/net-mgmt/openvmps/files/vmpsd.sh
+++ b/net-mgmt/openvmps/files/vmpsd.sh
@@ -6,12 +6,6 @@
# 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
@@ -21,14 +15,14 @@ prefix=%%PREFIX%%
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
[ -z "$vmpsd_enable" ] && vmpsd_enable="NO" # Enable vmpsd
-#vmpsd_program="${prefix}/sbin/vmpsd" # Location of 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}"
+command="%%PREFIX%%/sbin/${name}"
load_rc_config $name
run_rc_command "$1"