freebsd-ports/x11/kdebase3/files/patch-kdm-config.def
2007-07-04 10:25:00 +00:00

13 lines
458 B
Modula-2

--- kdm/config.def.orig Mon Oct 10 17:04:31 2005
+++ kdm/config.def Fri May 25 12:08:24 2007
@@ -35,8 +35,8 @@
#ifdef _AIX
# define HALT_CMD "/usr/sbin/shutdown -h now"
# define REBOOT_CMD "/usr/sbin/shutdown -r now"
-#elif defined(BSD)
-# define HALT_CMD "/sbin/shutdown -h now"
+#elif defined(__FreeBSD__)
+# define HALT_CMD "/sbin/shutdown -p now"
# define REBOOT_CMD "/sbin/shutdown -r now"
#elif defined(__SVR4)
# define HALT_CMD "/usr/sbin/halt"