66

Software

obarun.org

66-hpr

Triggers the software shutdown procedure. Performs an immediate hardware shutdown with the ‑f option. It is normally invoked by halt, poweroff or reboot wrappers installed by default at /etc/66. This program is a modified copy of s6-linux-init-hpr.

Interface

    66-hpr [ -H ] [ -l live ] [ -b banner ] [ -f ] [ -h | -p | -r ] [ -n ] [ -d | -w ] [ -W ]

This is the traditional sysvinit interface for the halt, poweroff and reboot programs. 66‑hpr must always be called with either ‑h, ‑p or ‑r.

Exit codes

Options

*** WARNING ***
The system is going down NOW!

Notes

halt, poweroff and reboot scripts that call 66‑hpr with the relevant option should be copied or symlinked by the administrator into the binary directory of your system.