[Bug 263855] sysutils/nut: replace shutdown command in /usr/local/etc/nut/upsmon.conf from HALT TO POWEROFF KIND OF STATE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 May 2022 23:37:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263855

            Bug ID: 263855
           Summary: sysutils/nut: replace shutdown command in
                    /usr/local/etc/nut/upsmon.conf from HALT TO POWEROFF
                    KIND OF STATE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: clear.screen@orange.fr
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Purpose of stopping a system in case of power loss is to electrically power
down the machine to avoid any trouble in the power supply

in SHUTDOWNCMD "/sbin/shutdown -p +0"
the default command is SHUTDOWNCMD "/sbin/shutdown -h +0"
this should be replaced by SHUTDOWNCMD "/sbin/shutdown -p +0"

in order to power down the machine and avoid trouble in halt state (system
alted but computer still powered)

-- 
You are receiving this mail because:
You are the assignee for the bug.