Lines 19-24
Link Here
|
19 |
rcvar=vmware_guestd_enable |
19 |
rcvar=vmware_guestd_enable |
20 |
load_rc_config $name |
20 |
load_rc_config $name |
|
|
21 |
: ${vmware_guestd_config="/usr/local/share/vmware-tools/tools.conf"} |
21 |
checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null" |
22 |
checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null" |
22 |
if ${checkvm_cmd} > /dev/null ; then |
23 |
if ${checkvm_cmd} > /dev/null ; then |
Lines 31-36
Link Here
|
31 |
pidfile="/var/run/${name}.pid" |
32 |
pidfile="/var/run/${name}.pid" |
32 |
start_precmd="${checkvm_cmd}" |
33 |
start_precmd="${checkvm_cmd}" |
33 |
stop_precmd="${checkvm_cmd}" |
34 |
stop_precmd="${checkvm_cmd}" |
34 |
command_args="--background ${pidfile} -c %%PREFIX%%/share/vmware-tools/tools.conf -p %%PREFIX%%/lib/open-vm-tools/plugins/vmsvc" |
35 |
command_args="--background ${pidfile} -c ${vmware_guestd_config} -p %%PREFIX%%/lib/open-vm-tools/plugins/vmsvc" |
35 |
run_rc_command "$1" |
36 |
run_rc_command "$1" |