summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/files
diff options
context:
space:
mode:
authorscottr <scottr@pkgsrc.org>2008-08-31 06:36:47 +0000
committerscottr <scottr@pkgsrc.org>2008-08-31 06:36:47 +0000
commit8e053ee7cbe7ca88f5f7497012c7b5e067fdb341 (patch)
treead70d02044d266efd42987cd467f72e230ab63dc /sysutils/open-vm-tools/files
parentdb126d9af2e923010a3c1d14227f5350fe7c703c (diff)
downloadpkgsrc-8e053ee7cbe7ca88f5f7497012c7b5e067fdb341.tar.gz
Update to version 2008.08.08-109361. This release provides the following
enhancements: - Simple command-line tools to interface with VMware host - Guest OS scripts that can be triggered by the VMware host - Startup script When compiled with X11 support (the default), this release also provides: - GTK+-based GUI to configure time sync, device connections, and scripts - Helper application to interface with the xf86-video-vmware driver, enabling dynamic screen resize
Diffstat (limited to 'sysutils/open-vm-tools/files')
-rwxr-xr-xsysutils/open-vm-tools/files/vmtools.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/open-vm-tools/files/vmtools.sh b/sysutils/open-vm-tools/files/vmtools.sh
new file mode 100755
index 00000000000..d1c6bee33ea
--- /dev/null
+++ b/sysutils/open-vm-tools/files/vmtools.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: vmtools.sh,v 1.1 2008/08/31 06:36:47 scottr Exp $
+#
+
+# PROVIDE: vmtools
+# REQUIRE: DAEMON
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="vmtools"
+rcvar="vmtools"
+pidfile="/var/run/vmware-guestd.pid"
+command="@PREFIX@/sbin/vmware-guestd"
+command_args="--background ${pidfile}"
+
+load_rc_config $name
+run_rc_command "$1"