From 55691b5e18ba7cd23c521eb8d54d5f2e4a7d0ea5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 9 Jun 2019 08:55:43 +0000 Subject: Add -H and -P to s6-l-i-shutdown, prepare for 1.0.2.0 --- doc/s6-linux-init-shutdown.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc/s6-linux-init-shutdown.html') diff --git a/doc/s6-linux-init-shutdown.html b/doc/s6-linux-init-shutdown.html index 871a13a..a61f8be 100644 --- a/doc/s6-linux-init-shutdown.html +++ b/doc/s6-linux-init-shutdown.html @@ -26,7 +26,7 @@ It is normally invoked as /sbin/shutdown.

Interface

-     s6-linux-init-shutdown [ -h | -p | -r | -k ] [ -a ] [ -t sec ] [ -f | -F ] time [ message ]
+     s6-linux-init-shutdown [ -h [ -H | -P ] | -p | -r | -k ] [ -a ] [ -t sec ] [ -f | -F ] time [ message ]
      s6-linux-init-shutdown -c [ message ]
 
@@ -71,7 +71,8 @@ of sec seconds between the SIGTERM and the SIGKILL (to allow processes receiving SIGTERM to exit cleanly). Default is 3 seconds.
  • -k : warning only. message will be sent to all logged in users, but the shutdown sequence will not be triggered.
  • -
  • -h : at the end of the shutdown sequence, halt the system.
  • +
  • -h : at the end of the shutdown sequence, halt the system. The +behaviour of this option may be altered with -H or -P.
  • -p : at the end of the shutdown sequence, power off the system. (This option is provided as an extension, it is not required by the LSB interface.)
  • -r : at the end of the shutdown sequence, reboot the system.
  • @@ -80,6 +81,12 @@ logged in users, but the shutdown sequence will not be triggered.
  • -c l: cancel a planned shutdown (i.e. cancel the effect of a previous call to shutdown with a time argument that was not now). This cannot be used to interrupt a shutdown sequence that has already started.
  • +
  • -H : this option can only be used in conjunction with -h. +Ensures the system is halted, not powered off, at the end of the shutdown sequence. +-Hh is equivalent to -h.
  • +
  • -P : this option can only be used in conjunction with -h. +Ensures the system is powered off at the end of the shutdown sequence. +=Ph is equivalent to -p.
  • Notes

    -- cgit v1.2.3