2017-04-07 03:43:59 +05:30
|
|
|
.\" Copyright (c) 2017 The OpenRC Authors.
|
|
|
|
.\" See the Authors file at the top-level directory of this distribution and
|
|
|
|
.\" https://github.com/OpenRC/openrc/blob/master/AUTHORS
|
|
|
|
.\"
|
|
|
|
.\" This file is part of OpenRC. It is subject to the license terms in
|
|
|
|
.\" the LICENSE file found in the top-level directory of this
|
|
|
|
.\" distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
|
|
|
|
.\" This file may not be copied, modified, propagated, or distributed
|
|
|
|
.\" except according to the terms contained in the LICENSE file.
|
|
|
|
.\"
|
2017-05-22 22:45:15 +05:30
|
|
|
.Dd May 22, 2017
|
2017-04-07 03:43:59 +05:30
|
|
|
.Dt openrc-shutdown 8 SMM
|
|
|
|
.Os OpenRC
|
|
|
|
.Sh NAME
|
|
|
|
.Nm openrc-shutdown
|
|
|
|
.Nd bring the system down
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2017-06-07 21:58:01 +05:30
|
|
|
.Op Fl d , -no-write
|
|
|
|
.Op Fl D , -dry-run
|
2017-04-07 03:43:59 +05:30
|
|
|
.Op Fl H , -halt
|
|
|
|
.Op Fl k , -kexec
|
|
|
|
.Op Fl p , -poweroff
|
2017-04-13 04:26:30 +05:30
|
|
|
.Op Fl R , -reexec
|
2017-04-07 03:43:59 +05:30
|
|
|
.Op Fl r , -reboot
|
2017-06-07 21:58:01 +05:30
|
|
|
.Op Fl s , -single
|
|
|
|
.Op Fl w , -write-only
|
2017-04-07 03:43:59 +05:30
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2017-06-07 21:58:01 +05:30
|
|
|
is the utility that communicates with
|
|
|
|
.Xr openrc-init 8
|
|
|
|
to bring down the system or instruct openrc-init to re-execute itself.
|
|
|
|
It supports the following options:
|
2017-04-07 03:43:59 +05:30
|
|
|
.Bl -tag -width "poweroff"
|
2017-06-07 21:58:01 +05:30
|
|
|
.It Fl d , -no-write
|
|
|
|
Do not write the wtmp boot record.
|
|
|
|
.It Fl D , -dry-run
|
2017-05-22 23:12:37 +05:30
|
|
|
Print the action that would be taken without executing it. This is to
|
|
|
|
allow testing.
|
2017-04-07 03:43:59 +05:30
|
|
|
.It Fl H , -halt
|
|
|
|
Stop all services, kill all remaining processes and halt the system.
|
|
|
|
.It Fl k , -kexec
|
|
|
|
Stop all services, kill all processes and boot directly into a new
|
2017-06-07 21:58:01 +05:30
|
|
|
kernel loaded via
|
|
|
|
.Xr kexec 8 .
|
2017-04-07 03:43:59 +05:30
|
|
|
.It Fl p , -poweroff
|
|
|
|
Stop all services, kill all processes and power off the system.
|
2017-04-13 04:26:30 +05:30
|
|
|
.It Fl R , -reexec
|
|
|
|
instruct openrc-init to re-exec itself. This should be used after an
|
|
|
|
upgrade of OpenRC if you are using openrc-init as your init process.
|
2017-04-07 03:43:59 +05:30
|
|
|
.It Fl r , -reboot
|
|
|
|
Stop all services, kill all processes and reboot the system.
|
2017-06-07 21:58:01 +05:30
|
|
|
.It Fl s , -single
|
|
|
|
Stop all services, kill all processes and move to single user mode.
|
|
|
|
.It Fl w , -write-only
|
|
|
|
Stop all services, kill all processes and move to single user mode.
|
2017-04-07 03:43:59 +05:30
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr openrc-init 8 ,
|
|
|
|
.Xr kexec 8 ,
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An William Hubbs <w.d.hubbs@gmail.com>
|