File: fix-shutdown-time-docs.diff

package info (click to toggle)
sysvinit 3.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,892 kB
  • sloc: ansic: 8,529; sh: 3,853; makefile: 351
file content (20 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Clarify that when called with a time shutdown will not exit.
 That's important to know for programs or scripts that call shutdown … time
 because they will never proceed after having called it (unless they fork,
 exec or similar of course).
 Point in case: unattended-upgrades gets caught by this.
Author: Tomas Pospisek <tpo@debian.org>

--- a/man/shutdown.8
+++ b/man/shutdown.8
@@ -132,6 +132,10 @@
 .\"{{{  time
 .IP \fItime\fP
 When to shutdown.
+If a
+\fItime\fP
+is given then the
+\fBshutdown\fP command will not exit but instead count down until reboot.
 .\"}}}
 .\"{{{  warning-message
 .IP "\fIwarning message\fP"