source: build-files/ports-overlay/emulators/open-vm-tools/files/vmware-guestd.in @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 10 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 764 bytes
Line 
1#!/bin/sh
2#
3# $FreeBSD: emulators/open-vm-tools/files/vmware-guestd.in 302141 2012-08-05 23:19:36Z dougb $
4#
5
6# PROVIDE: vmware-guestd
7# REQUIRE: DAEMON
8# BEFORE: LOGIN
9
10. /etc/rc.subr
11
12# Global
13checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null"
14
15# VMware guest daemon
16name="vmware_guestd"
17rcvar=vmware_guestd_enable
18start_precmd="${checkvm_cmd}"
19unset start_cmd
20stop_precmd="${checkvm_cmd}"
21unset stop_cmd
22command="%%PREFIX%%/bin/vmtoolsd"
23command_args="-c %%PREFIX%%/share/vmware-tools/tools.conf -p %%PREFIX%%/lib/open-vm-tools/plugins/vmsvc"
24pidfile="/var/run/${name}.pid"
25
26load_rc_config $name
27[ -z "$vmware_guestd_enable" ] && vmware_guestd_enable="YES"
28[ -z "$vmware_guestd_flags" ] && vmware_guestd_flags="--background ${pidfile}"
29run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.