summaryrefslogtreecommitdiffstats
path: root/main/xfce4-session/busybox-shutdown.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xfce4-session/busybox-shutdown.patch')
-rw-r--r--main/xfce4-session/busybox-shutdown.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/xfce4-session/busybox-shutdown.patch b/main/xfce4-session/busybox-shutdown.patch
new file mode 100644
index 000000000..37423618f
--- /dev/null
+++ b/main/xfce4-session/busybox-shutdown.patch
@@ -0,0 +1,13 @@
+--- a/xfsm-shutdown-helper/main.c Thu Nov 5 17:34:17 2009
++++ b/xfsm-shutdown-helper/main.c Thu Nov 5 17:36:56 2009
+@@ -64,8 +64,8 @@
+ #define POWEROFF_CMD "/usr/sbin/shutdown -i 5 -g 0 -y"
+ #define REBOOT_CMD "/usr/sbin/shutdown -i 6 -g 0 -y"
+ #else
+-#define POWEROFF_CMD "/sbin/shutdown -h now"
+-#define REBOOT_CMD "/sbin/shutdown -r now"
++#define POWEROFF_CMD "/sbin/poweroff"
++#define REBOOT_CMD "/sbin/reboot"
+ #endif
+
+