From 7aa18bcbd83c4342bc2eefa4d6d96756ae7541a0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Nov 2020 17:11:28 +0000 Subject: Add -i option to shutdown and hpr --- doc/s6-linux-init-hpr.html | 6 +++++- doc/s6-linux-init-shutdown.html | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/s6-linux-init-hpr.html b/doc/s6-linux-init-hpr.html index 4d164e0..d2a03fb 100644 --- a/doc/s6-linux-init-hpr.html +++ b/doc/s6-linux-init-hpr.html @@ -29,7 +29,7 @@ It is normally invoked through halt, poweroff or

Interface

-     s6-linux-init-hpr [ -f ] [ -h | -p | -r ] [ -d | -w ] [ -W ]
+     s6-linux-init-hpr [ -f ] [ -h | -p | -r ] [ -d | -w ] [ -W ] [ -i ]
 

Notes

diff --git a/doc/s6-linux-init-shutdown.html b/doc/s6-linux-init-shutdown.html index cc3f9c1..fb7b671 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 [ -H | -P ] | -p | -r | -k ] [ -a ] [ -t sec ] [ -f | -F ] time [ message ]
+     s6-linux-init-shutdown [ -h [ -H | -P ] | -p | -r | -k ] [ -a ] [ -t sec ] [ -i ] [ -f | -F ] time [ message ]
      s6-linux-init-shutdown -c [ message ]
 
@@ -87,6 +87,10 @@ Ensures the system is halted, not powered off, at the end of the shutdown sequen
  • -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.
  • +
  • -i : interactive confirmation request. The command needs to be +launched in a terminal, and will prompt the user to type the (short) hostname of +the machine to be shut down. On mismatch, the command will abort. The point is to +avoid inadvertently rebooting a remote machine in an ssh session.
  • Notes

    -- cgit v1.2.3