aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools_2/open-vm-tools.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-09 16:28:43 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-09 16:28:43 -0200
commit7998273d075385d8a974bd56e530d8753c940717 (patch)
treeb653871a5122deaf36a896b1c8f7ed5956a2cfa0 /config/open-vm-tools_2/open-vm-tools.inc
parent13432421da0d1f3eafbd09ce966497f3f3b5bd20 (diff)
downloadpfsense-packages-7998273d075385d8a974bd56e530d8753c940717.tar.gz
pfsense-packages-7998273d075385d8a974bd56e530d8753c940717.tar.bz2
pfsense-packages-7998273d075385d8a974bd56e530d8753c940717.zip
Drop use of set_rcvar from startup scripts, it's deprecated
Diffstat (limited to 'config/open-vm-tools_2/open-vm-tools.inc')
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index 742eaee9..1b909d34 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/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}"
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}"
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}"
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}"
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}"
start_precmd="\${checkvm_cmd}"
start_cmd="vmware_guest_vmhgfs_start"
stop_precmd="\${checkvm_cmd}"