2013-09-26 17:14:40 +02:00

15 lines
610 B
Plaintext

$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"