aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-session/busybox-shutdown.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xfce4-session/busybox-shutdown.patch')
-rw-r--r--community/xfce4-session/busybox-shutdown.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/xfce4-session/busybox-shutdown.patch b/community/xfce4-session/busybox-shutdown.patch
new file mode 100644
index 0000000000..37423618f0
--- /dev/null
+++ b/community/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
+
+