commit 9c706df62dc05e1e55a9f949d8768b1ce9f6e440 parent 7d47c075ccf3f0eaf0a8bdc77e7d65428be3ed59 Author: sin <sin@2f30.org> Date: Sat, 12 Apr 2014 13:47:57 +0100 Add ctrlaltdel manpage Diffstat:
A | ctrlaltdel.8 | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/ctrlaltdel.8 b/ctrlaltdel.8 @@ -0,0 +1,18 @@ +.TH CTRLALTDEL 8 ubase-VERSION +.SH NAME +\fBctrlaltdel\fR - set the function of Ctrl-Alt-Del combination +.SH SYNOPSIS +\fBctrlaltdel\fR [\fB-hs\fR] +.SH DESCRIPTION +Based on examination of the linux/kernel/sys.c code, it is clear that +there are two supported functions that the Ctrl-Alt-Del sequence can +perform: a hard reset, which immediately reboots the computer without +calling sync(2) and without any other preparation; and a soft reset, +which sends the SIGINT (interrupt) signal to the init process (this is +always the process with PID 1). If this option is used, the init(8) +program must support this feature. +.SH OPTIONS +.TP +\fB-h\fR perform a hard reset +.TP +\fB-s\fR perform a soft reset