diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-27 23:27:39 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-27 23:27:39 +0000 |
commit | 6f13cd197540af0bf5e87f87ab0e03548d9c5f64 (patch) | |
tree | 5ce691b38fe2a9d0033931a1e39e568c142966d1 /doc/s6-linux-init-hpr.html | |
parent | 31dcbd86ed7e34b4d8ea272ceb9c0a4cfac54c56 (diff) | |
download | s6-linux-init-6f13cd197540af0bf5e87f87ab0e03548d9c5f64.tar.xz |
Doc fixes
Diffstat (limited to 'doc/s6-linux-init-hpr.html')
-rw-r--r-- | doc/s6-linux-init-hpr.html | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/doc/s6-linux-init-hpr.html b/doc/s6-linux-init-hpr.html index 304ed35..5f09574 100644 --- a/doc/s6-linux-init-hpr.html +++ b/doc/s6-linux-init-hpr.html @@ -22,8 +22,9 @@ <p> <tt>s6-linux-init-hpr</tt> triggers the software shutdown procedure, or, with the <tt>-f</tt> option, it perform an immediate hardware shutdown. -It is normally invoked as <tt>/sbin/halt</tt>, <tt>/sbin/poweroff</tt> or -<tt>/sbin/reboot</tt>. +It is normally invoked through <tt>halt</tt>, <tt>poweroff</tt> or +<tt>reboot</tt> wrappers created by +<a href="s6-linux-init-maker.html">s6-linux-init-maker</a>. </p> <h2> Interface </h2> @@ -33,7 +34,7 @@ It is normally invoked as <tt>/sbin/halt</tt>, <tt>/sbin/poweroff</tt> or </pre> <ul> - <li> If the <tt>-f</tt> option is present, the hardware command is executed immediately. </li> + <li> If the <tt>-f</tt> option is present, the system is stopped or rebooted immediately. </li> <li> Else, the machine's shutdown procedure is started. <li> The command exits 0; the shutdown procedure happens asynchronously. </li> </ul> @@ -45,14 +46,6 @@ It is normally invoked as <tt>/sbin/halt</tt>, <tt>/sbin/poweroff</tt> or <tt>-h</tt>, <tt>-p</tt> or <tt>-r</tt> options. </p> -<h2> Exit codes </h2> - -<ul> - <li> 0: shutdown procedure triggered. </li> - <li> 100: wrong usage, or user does not have root privileges. </li> - <li> 111: system call failed. </li> -</ul> - <h2> Options </h2> <ul> |