pkgsrc/sysutils/open-vm-tools/patches/patch-ao
scottr 8e053ee7cb 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
2008-08-31 06:36:47 +00:00

14 lines
610 B
Text

$NetBSD: patch-ao,v 1.2 2008/08/31 06:36:48 scottr Exp $
--- lib/include/conf.h.orig 2008-08-08 02:01:52.000000000 -0500
+++ lib/include/conf.h
@@ -41,6 +41,9 @@
# ifdef sun
# define CONFVAL_HALT_DEFAULT "/usr/sbin/init 5"
# define CONFVAL_REBOOT_DEFAULT "/usr/sbin/init 6"
+# elif defined(__NetBSD__)
+# define CONFVAL_HALT_DEFAULT "/sbin/shutdown -p now"
+# define CONFVAL_REBOOT_DEFAULT "/sbin/shutdown -r now"
# else
# define CONFVAL_HALT_DEFAULT "/sbin/shutdown -h now"
# define CONFVAL_REBOOT_DEFAULT "/sbin/shutdown -r now"