I've noticed a different behavior of the shutdown -P command using different OS images.
I bought a BPI M1 to build a home NAS, using OpenMediaVault.
I've downloaded 2.1 and 3.0 OMV images from
simpleNAS. 3.0 is for BPI-M1+, but still worked with BPI-M1.
With version 2.1, 'shutdown -P -h now' (same with "shutdown -h now') will shutdown the system, whithout turning off the power.
With version 3.0, 'shutdown -P -h now' will shutdown the system AND turn off the power (red LED turns off). Then the system can be powered on again with power button.
I prefer the latter behavior, so I can control power on/off with a single on board button.
Any idea what can be the cause of these different beavior? OS-related or kernel-related? Some acpi tool package missing? (acpi_listen detect power button event correctly in both case)