aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/rox-session
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2003-03-24 14:12:00 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2003-03-24 14:12:00 +0000
commita0f620f31fada9de428af3c4d261b7e7b8cc54ea (patch)
treec6921cf94e8755063a4a04d29501c85477f52315 /x11-fm/rox-session
parentaa207f428cf5944a105bb73fe6289d6cab8d60cc (diff)
downloadports-a0f620f31fada9de428af3c4d261b7e7b8cc54ea.tar.gz
ports-a0f620f31fada9de428af3c4d261b7e7b8cc54ea.zip
Use /sbin/shutdown (-p or -r) as the default halt/reboot command.
Notes
Notes: svn path=/head/; revision=77385
Diffstat (limited to 'x11-fm/rox-session')
-rw-r--r--x11-fm/rox-session/files/patch-ROX-Session_src_session.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-fm/rox-session/files/patch-ROX-Session_src_session.c b/x11-fm/rox-session/files/patch-ROX-Session_src_session.c
new file mode 100644
index 000000000000..8f77b38ceb8a
--- /dev/null
+++ b/x11-fm/rox-session/files/patch-ROX-Session_src_session.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- ROX-Session/src/session.c.orig Sun Mar 23 21:11:38 2003
++++ ROX-Session/src/session.c Sun Mar 23 21:12:38 2003
+@@ -152,8 +152,8 @@
+ option_add_int(&mouse_accel_threshold, "accel_threshold", 10);
+ option_add_int(&mouse_accel_factor, "accel_factor", 20);
+
+- option_add_string(&halt_command, "halt_command", "halt");
+- option_add_string(&reboot_command, "reboot_command", "reboot");
++ option_add_string(&halt_command, "halt_command", "/sbin/shutdown -p now");
++ option_add_string(&reboot_command, "reboot_command", "/sbin/shutdown -r now");
+ option_add_string(&suspend_command, "suspend_command",
+ "xset dpms force off");
+