[Buildroot] [PATCH/next] acpid: use shutdown for poweroff, if available, not /sbin/poweroff

Peter Korsgaard peter at korsgaard.com
Mon Oct 1 18:56:07 UTC 2018


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > Hello,
 > On Thu, 30 Aug 2018 10:21:20 -0300, Carlos Santos wrote:
 >> It's preferable to use "shutdown -hP now" to ensure that the runlevel is
 >> known, preventing this message on the system console and log:
 >> 
 >> WARNING: could not determine runlevel - doing soft poweroff
 >> (it's better to use shutdown instead of poweroff from the command line)
 >> 
 >> Signed-off-by: Carlos Santos <casantos at datacom.com.br>
 >> ---
 >> package/acpid/acpid.mk | 8 +++++++-
 >> 1 file changed, 7 insertions(+), 1 deletion(-)

Committed to 2018.02.x, 2018.05.x and 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list