From 5b03e0faf03900307ac030c9f2deb779bbf2216c Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Thu, 15 Nov 2018 13:28:35 -0400 Subject: [PATCH] Updated shutdown manual page to try to clarify which components of the shutdown process vs shutdown program we are referring to. --- doc/Changelog | 4 ++++ man/shutdown.8 | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 93d8d94..d6dca21 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -54,6 +54,10 @@ sysvinit (2.92) unreleased; urgency=low tools to try to clean up the contents of the log. * Added manual page for readbootlog program. Updated bootlogd page to reference it. Closes Debian bug #725123. + * Updated the shutdown manual page to try to make it more clear + where we are talking about an initscript called halt or the halt + program. Likewise whether we are talking about the shutdown process + or the specific shutdown program. sysvinit (2.91) world; urgency=low diff --git a/man/shutdown.8 b/man/shutdown.8 index c53c50f..f747dd9 100644 --- a/man/shutdown.8 +++ b/man/shutdown.8 @@ -193,11 +193,10 @@ argument is ignored. .SH HALT OR POWEROFF The \fB-H\fP option just sets the \fIinit\fP environment variable \fIINIT_HALT\fP to \fIHALT\fP, and the \fB-P\fP option just sets -that variable to \fIPOWEROFF\fP. The shutdown script that calls -\fBhalt\fP(8) as the last thing in the shutdown sequence should -check these environment variables and call \fBhalt\fP(8) with +that variable to \fIPOWEROFF\fP. The script (usually /etc/init.d/halt) that calls +the \fBhalt\fP(8) program as the last thing in the shutting down sequence should +check this environment variable and call the \fBhalt\fP(8) program with the right options for these options to actually have any effect. -Debian 3.1 (sarge) supports this. .SH FILES .nf /fastboot