[Buildroot] [PATCH/next] acpid: use shutdown for poweroff, if available, not /sbin/poweroff
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Sep 10 19:15:39 UTC 2018
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(-)
Nobody complained about this since ~2 weeks and it looks reasonable, so
I've applied.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list