14 lines
505 B
Plaintext
14 lines
505 B
Plaintext
$OpenBSD: patch-kdm_config_def,v 1.1 2010/07/10 16:57:22 espie Exp $
|
|
--- kdm/config.def.orig Sat Jun 26 13:43:54 2010
|
|
+++ kdm/config.def Sat Jun 26 13:45:06 2010
|
|
@@ -37,6 +37,9 @@
|
|
#ifdef _AIX
|
|
# define HALT_CMD "/usr/sbin/shutdown -h now"
|
|
# define REBOOT_CMD "/usr/sbin/shutdown -r now"
|
|
+#elif defined(__OpenBSD__)
|
|
+# define HALT_CMD "/sbin/halt -p"
|
|
+# define REBOOT_CMD "/sbin/shutdown -r now"
|
|
#elif defined(BSD)
|
|
# define HALT_CMD "/sbin/shutdown -p now"
|
|
# define REBOOT_CMD "/sbin/shutdown -r now"
|