Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 14:02:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 187924] [PATCH] sysutils/apcupsd: Use shutdown -p rather than -h
Message-ID:  <bug-187924-13-jJK5cqG2iY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-187924-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-187924-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187924

Danilo G. Baio <dbaio@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dbaio@freebsd.org

--- Comment #5 from Danilo G. Baio <dbaio@freebsd.org> ---
Hi Tim.

The sample files are fine, but in apccontrol I think it's not.

> # WARNING: the apccontrol file will be overwritten every time you update =
your
> # apcupsd, doing `make install'. Your own customized scripts will _not_ be
> # overwritten. If you wish to make changes to this file (discouraged), you
> # should change apccontrol.sh.in and then rerun the configure process.

What about an option to change this behavior before building?

POWEROFF
The system is halted and the power is turned off (hardware support required=
) at
the specified time.

[./platforms/freebsd/apccontrol.in]
${SHUTDOWN} -h now --> ${SHUTDOWN} -p now

Regards.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-187924-13-jJK5cqG2iY>