OSDN Git Service

3dd7b3e7d415c313a46750e3489eccc66302ede1
[linuxjm/jm.git] / manual / util-linux / original / man8 / ctrlaltdel.8
1 '\" t
2 .\"     Title: ctrlaltdel
3 .\"    Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.15
5 .\"      Date: 2022-02-14
6 .\"    Manual: System Administration
7 .\"    Source: util-linux 2.37.4
8 .\"  Language: English
9 .\"
10 .TH "CTRLALTDEL" "8" "2022-02-14" "util\-linux 2.37.4" "System Administration"
11 .ie \n(.g .ds Aq \(aq
12 .el       .ds Aq '
13 .ss \n[.ss] 0
14 .nh
15 .ad l
16 .de URL
17 \fI\\$2\fP <\\$1>\\$3
18 ..
19 .als MTO URL
20 .if \n[.g] \{\
21 .  mso www.tmac
22 .  am URL
23 .    ad l
24 .  .
25 .  am MTO
26 .    ad l
27 .  .
28 .  LINKSTYLE blue R < >
29 .\}
30 .SH "NAME"
31 ctrlaltdel \- set the function of the Ctrl\-Alt\-Del combination
32 .SH "SYNOPSIS"
33 .sp
34 \fBctrlaltdel\fP \fBhard\fP|\fBsoft\fP
35 .SH "DESCRIPTION"
36 .sp
37 Based on examination of the \fIlinux/kernel/reboot.c\fP code, it is clear that there are two supported functions that the <Ctrl\-Alt\-Del> sequence can perform.
38 .sp
39 \fBhard\fP
40 .RS 4
41 Immediately reboot the computer without calling \fBsync\fP(2) and without any other preparation. This is the default.
42 .RE
43 .sp
44 \fBsoft\fP
45 .RS 4
46 Make the kernel send the \fBSIGINT\fP (interrupt) signal to the \fBinit\fP process (this is always the process with PID 1). If this option is used, the \fBinit\fP(8) program must support this feature. Since there are now several \fBinit\fP(8) programs in the Linux community, please consult the documentation for the version that you are currently using.
47 .RE
48 .sp
49 When the command is run without any argument, it will display the current setting.
50 .sp
51 The function of \fBctrlaltdel\fP is usually set in the \fI/etc/rc.local\fP file.
52 .SH "OPTIONS"
53 .sp
54 \fB\-V\fP, \fB\-\-version\fP
55 .RS 4
56 Display version information and exit.
57 .RE
58 .sp
59 \fB\-h\fP, \fB\-\-help\fP
60 .RS 4
61 Display help text and exit.
62 .RE
63 .SH "FILES"
64 .sp
65 \fI/etc/rc.local\fP
66 .SH "AUTHORS"
67 .sp
68 .MTO "poe\(atdaimi.aau.dk" "Peter Orbaek" ""
69 .SH "SEE ALSO"
70 .sp
71 \fBinit\fP(8),
72 \fBsystemd\fP(1)
73 .SH "REPORTING BUGS"
74 .sp
75 For bug reports, use the issue tracker at \c
76 .URL "https://github.com/karelzak/util\-linux/issues" "" "."
77 .SH "AVAILABILITY"
78 .sp
79 The \fBctrlaltdel\fP command is part of the util\-linux package which can be downloaded from \c
80 .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."