openrc-shutdown: add dry-run option

This commit is contained in:
William Hubbs
2017-05-22 12:42:37 -05:00
parent 0cfd0dd9ef
commit 1ece16bfcd
2 changed files with 23 additions and 11 deletions

View File

@@ -27,6 +27,9 @@ is the utility that communicates with openrc-init(8) to bring down the
system or instruct openrc-init to re-execute itself. It supports the
following options:
.Bl -tag -width "poweroff"
.It Fl d , -dry-run
Print the action that would be taken without executing it. This is to
allow testing.
.It Fl H , -halt
Stop all services, kill all remaining processes and halt the system.
.It Fl k , -kexec