2015-02-02 12:34:26 -05:00
|
|
|
.Dd February 2, 2015
|
|
|
|
.Dt CTRLALTDEL 8
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm ctrlaltdel
|
|
|
|
.Nd set the function of Ctrl-Alt-Del combination
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl hs
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
Based on examination of the
|
|
|
|
.Pa 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
|
|
|
|
.Xr 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
|
|
|
|
.Xr init 8
|
2014-04-12 08:47:57 -04:00
|
|
|
program must support this feature.
|
2015-02-02 12:34:26 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl h
|
|
|
|
Perform a hard reset.
|
|
|
|
.It Fl s
|
|
|
|
Perform a soft reset.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr sync 2 ,
|
|
|
|
.Xr init 8
|