1
Author: Oswald Buddenhagen <ossi@kde.org>
5
linux shutdown wants -P instead of -p (also -P requires -h)
7
Index: kdebase-workspace-4.6.2a/kdm/config.def
8
===================================================================
9
--- kdebase-workspace-4.6.2a.orig/kdm/config.def 2011-04-09 17:27:28.000000000 -0400
10
+++ kdebase-workspace-4.6.2a/kdm/config.def 2011-04-09 17:32:38.101048748 -0400
13
# define HALT_CMD "/usr/sbin/shutdown -h now"
14
# define REBOOT_CMD "/usr/sbin/shutdown -r now"
15
-#elif defined(BSD) || defined(__linux__)
16
+#elif defined(__linux__)
17
+# define HALT_CMD "/sbin/shutdown -h -P now"
18
+# define REBOOT_CMD "/sbin/shutdown -r now"
20
# define HALT_CMD "/sbin/shutdown -p now"
21
# define REBOOT_CMD "/sbin/shutdown -r now"