diff options
author | olgeni <olgeni@FreeBSD.org> | 2003-03-24 14:12:00 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2003-03-24 14:12:00 +0000 |
commit | 2cd1bedbc9ef008bc0b2a9a0bb2ab030c83699c8 (patch) | |
tree | fcf3bb514183ff733b738ba4c1622f585db44792 /x11-fm/rox-session | |
parent | dbed375fc0f6bc05140a58a1b5543965fe0dba4a (diff) | |
download | FreeBSD-ports-2cd1bedbc9ef008bc0b2a9a0bb2ab030c83699c8.zip FreeBSD-ports-2cd1bedbc9ef008bc0b2a9a0bb2ab030c83699c8.tar.gz |
Use /sbin/shutdown (-p or -r) as the default halt/reboot command.
Diffstat (limited to 'x11-fm/rox-session')
-rw-r--r-- | x11-fm/rox-session/files/patch-ROX-Session_src_session.c | 16 |
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 0000000..8f77b38 --- /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"); + |