From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC6C6139694 for ; Wed, 7 Jun 2017 16:34:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8FAA21C072; Wed, 7 Jun 2017 16:34:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B34FF21C072 for ; Wed, 7 Jun 2017 16:34:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63D0E341874 for ; Wed, 7 Jun 2017 16:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B69C17476 for ; Wed, 7 Jun 2017 16:34:37 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1496852881.caacedc0a82285fb2d25c6d3473f154044c7ad66.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: man/ X-VCS-Repository: proj/openrc X-VCS-Files: man/openrc-shutdown.8 X-VCS-Directories: man/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: caacedc0a82285fb2d25c6d3473f154044c7ad66 X-VCS-Branch: master Date: Wed, 7 Jun 2017 16:34:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9a405896-a006-4a11-a041-b456a71ba7da X-Archives-Hash: 19740579223eebe896be9e138f302025 commit: caacedc0a82285fb2d25c6d3473f154044c7ad66 Author: William Hubbs gmail com> AuthorDate: Wed Jun 7 16:28:01 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Jun 7 16:28:01 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=caacedc0 man: update openrc-shutdown man page Add the new wtmp options and fix some cross references. man/openrc-shutdown.8 | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/man/openrc-shutdown.8 b/man/openrc-shutdown.8 index 5d81c4af..5db21334 100644 --- a/man/openrc-shutdown.8 +++ b/man/openrc-shutdown.8 @@ -16,25 +16,33 @@ .Nd bring the system down .Sh SYNOPSIS .Nm +.Op Fl d , -no-write +.Op Fl D , -dry-run .Op Fl H , -halt .Op Fl k , -kexec .Op Fl p , -poweroff .Op Fl R , -reexec .Op Fl r , -reboot +.Op Fl s , -single +.Op Fl w , -write-only .Sh DESCRIPTION .Nm -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: +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: .Bl -tag -width "poweroff" -.It Fl d , -dry-run +.It Fl d , -no-write +Do not write the wtmp boot record. +.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 Stop all services, kill all processes and boot directly into a new -kernel loaded via kexec(8). +kernel loaded via +.Xr kexec 8 . .It Fl p , -poweroff Stop all services, kill all processes and power off the system. .It Fl R , -reexec @@ -42,10 +50,11 @@ 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. .It Fl r , -reboot Stop all services, kill all processes and reboot the system. +.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. .El -.Pp -If none of these options are given, the default is to move the system -into single user mode. .Sh SEE ALSO .Xr openrc-init 8 , .Xr kexec 8 ,