Upload Tizen:Base source
[framework/base/util-linux-ng.git] / sys-utils / ctrlaltdel.8
1 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .TH CTRLALTDEL 8 "25 October 1993" "Linux 1.2" "Linux Programmer's Manual"
4 .SH NAME
5 ctrlaltdel \- set the function of the Ctrl-Alt-Del combination
6 .SH SYNOPSIS
7 .BR "ctrlaltdel hard" | soft
8 .SH DESCRIPTION
9 Based on examination of the
10 .I linux/kernel/sys.c
11 code, it is clear that there are two supported functions that the
12 Ctrl-Alt-Del sequence can perform: a
13 .I hard
14 reset, which immediately reboots the computer without calling
15 .BR sync (2)
16 and without any other preparation; and a
17 .I soft
18 reset, which sends the SIGINT (interrupt) signal to the
19 .B init
20 process (this is always the process with PID 1).  If this option is used,
21 the
22 .BR init (8)
23 program must support this feature.  Since there are now several
24 .BR init (8)
25 programs in the Linux community, please consult the documentation for the
26 version that you are currently using.
27
28 .B ctrlaltdel
29 is usually used in the
30 .I /etc/rc.local
31 file.
32 .SH FILES
33 .I /etc/rc.local
34 .SH "SEE ALSO"
35 .BR simpleinit (8),
36 .BR init (8)
37 .SH AUTHOR
38 Peter Orbaek (poe@daimi.aau.dk)
39 .SH AVAILABILITY
40 The ctrlaltdel command is part of the util-linux-ng package and is available from
41 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.