mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Use /sbin/shutdown (-p or -r) as the default halt/reboot command.
This commit is contained in:
parent
aa207f428c
commit
a0f620f31f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77385
16
x11-fm/rox-session/files/patch-ROX-Session_src_session.c
Normal file
16
x11-fm/rox-session/files/patch-ROX-Session_src_session.c
Normal file
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user