diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-06 17:11:28 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-06 17:11:28 +0000 |
commit | 7aa18bcbd83c4342bc2eefa4d6d96756ae7541a0 (patch) | |
tree | 157e1787d165dd052b2d49772887e31f49394c68 /doc/s6-linux-init-hpr.html | |
parent | 4d47d83042e0844da2fcfff9bd73de60124e7902 (diff) | |
download | s6-linux-init-7aa18bcbd83c4342bc2eefa4d6d96756ae7541a0.tar.xz |
Add -i option to shutdown and hpr
Diffstat (limited to 'doc/s6-linux-init-hpr.html')
-rw-r--r-- | doc/s6-linux-init-hpr.html | 6 |
1 files changed, 5 insertions, 1 deletions
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 <tt>halt</tt>, <tt>poweroff</tt> or <h2> Interface </h2> <pre> - s6-linux-init-hpr [ -f ] [ -h | -p | -r ] [ -d | -w ] [ -W ] + s6-linux-init-hpr [ -f ] [ -h | -p | -r ] [ -d | -w ] [ -W ] [ -i ] </pre> <ul> @@ -61,6 +61,10 @@ the system. </li> <li> <tt>-W</tt> : Do not send a <tt>wall</tt> message to users before shutting down the system. Some other implementations of the <tt>halt</tt>, <tt>poweroff</tt> and <tt>reboot</tt> commands use the <tt>--no-wall</tt> long option to achieve this. </li> + <li> <tt>-i</tt> : 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. </li> </ul> <h2> Notes </h2> |