freebsd-ports/x11/kdebase3/files/patch-kdm-config.def

14 lines
458 B
Modula-2
Raw Normal View History

2007-07-04 12:25:00 +02:00
--- 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"
2007-07-04 12:25:00 +02:00
-#elif defined(BSD)
-# define HALT_CMD "/sbin/shutdown -h now"
2007-07-04 12:25:00 +02:00
+#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"