aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-10-03 14:39:58 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-10-03 14:39:58 -0300
commitebbddd6a640c6bd0be8b89c9b3af7903550803ac (patch)
tree3ce06ee8de30255f1510e7bc901385d4e204da2b /config
parent4821b5e8359f11630b7299882c1ba4f28e533e92 (diff)
downloadpfsense-packages-ebbddd6a640c6bd0be8b89c9b3af7903550803ac.tar.gz
pfsense-packages-ebbddd6a640c6bd0be8b89c9b3af7903550803ac.tar.bz2
pfsense-packages-ebbddd6a640c6bd0be8b89c9b3af7903550803ac.zip
Remove deprecated set_rcvar from init scripts and bump open-vm-tools package version
Diffstat (limited to 'config')
-rw-r--r--config/open-vm-tools/open-vm-tools.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc
index 5db7de3f..76e8c212 100644
--- a/config/open-vm-tools/open-vm-tools.inc
+++ b/config/open-vm-tools/open-vm-tools.inc
@@ -42,7 +42,7 @@ checkvm_cmd="/usr/local/bin/vmware-checkvm > /dev/null"
# VMware guest daemon
name="vmware_guestd"
-rcvar=`set_rcvar`
+rcvar="\${name}_enable"
start_precmd="\${checkvm_cmd}"
unset start_cmd
stop_precmd="\${checkvm_cmd}"
@@ -100,7 +100,7 @@ vmware_guest_vmhgfs_start()
# VMware kernel module: vmmemctl
name="vmware_guest_vmmemctl"
-rcvar=`set_rcvar`
+rcvar="\${name}_enable"
start_precmd="\${checkvm_cmd}"
start_cmd="vmware_guest_vmmemctl_start"
stop_precmd="\${checkvm_cmd}"
@@ -112,7 +112,7 @@ run_rc_command "\$1"
# VMware kernel module: vmxnet
name="vmware_guest_vmxnet"
-rcvar=`set_rcvar`
+rcvar="\${name}_enable"
start_precmd="\${checkvm_cmd}"
start_cmd="vmware_guest_vmxnet_start"
stop_precmd="\${checkvm_cmd}"
@@ -124,7 +124,7 @@ run_rc_command "\$1"
# VMware kernel module: vmblock
name="vmware_guest_vmblock"
-rcvar=`set_rcvar`
+rcvar="\${name}_enable"
start_precmd="\${checkvm_cmd}"
start_cmd="vmware_guest_vmblock_start"
stop_precmd="\${checkvm_cmd}"
@@ -136,7 +136,7 @@ run_rc_command "\$1"
# VMware kernel module: vmhgfs
name="vmware_guest_vmhgfs"
-rcvar=`set_rcvar`
+rcvar="\${name}_enable"
start_precmd="\${checkvm_cmd}"
start_cmd="vmware_guest_vmhgfs_start"
stop_precmd="\${checkvm_cmd}"