Add ctrlaltdel manpage

This commit is contained in:
sin 2014-04-12 13:47:57 +01:00
parent 7d47c075cc
commit 9c706df62d
1 changed files with 18 additions and 0 deletions

18
ctrlaltdel.8 Normal file
View File

@ -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