summaryrefslogtreecommitdiff
path: root/cmd/shutdown.8
blob: 8a3a16c537855ed0afe20754f7d2959e383923ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH shutdown 8 "August 2018" "Pygos Init"
.SH NAME
shutdown \- shutdown or reboot the system
.SH SYNOPSIS
.B shutdown
[options]
.SH DESCRIPTION
The shutdown command can notify the init system to shut the system down or to
reboot the system.
.PP
If no option is specified, the default action is to initiate a shutdown.
.PP
If invoked as reboot, for instance through a symlink or hard link, the default
action is to reboot the system.
.SH OPTIONS
.TP
.BR \-h , " \-\-help"
Display a help text and exit.
.TP
.BR \-V , " \-\-version"
Print version information and exit.
.TP
.BR \-p , " \-\-poweroff"
Do a shutdown and turn the system power off if possible.
.TP
.BR \-r , " \-\-reboot"
Do a system reboot.
.TP
.BR \-f , " \-\-force"
Bypass the init system and directly call the kernel to do a hard
shutdown or reboot.
.TP
.BR \-n , " \-\-no-sync"
If \-\-force is specified, do not call
.BR sync (2)
before bringing the system down.
.SH AVAILABILITY
This program is part of the Pygos init system.
.SH COPYRIGHT
Copyright \(co 2018 David Oberhollenzer
.br
License: ISC <https://www.gnu.org/licenses/license-list.html#ISC>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH SEE ALSO
.BR sync (2),
.BR reboot (2)