http://qkpm2ov2rjhjkhfsftskqho77uj5rewd5y44unkf6cb7tdhaxwcvh2id.onion/books/apc/APCUPSD%20User%20Manual.html
Modification of the
halt script is important so that at the end of the shutdown
procedure, apcupsd will be called again to command the UPS to turn
off the power.