Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3990

Advanced users • Re: RPi 5

$
0
0
The power switch is just push-to-make - there is no on/off state. And there is no EEPROM setting that causes it to boot to standby. However, the boot reason can be deduced from the (binary) value in /proc/device-tree/chosen/bootloader/rsts, so a script (perhaps in /etc/rc.local) could shut down if it is a cold boot. And with POWER_OFF_ON_HALT=1 that could put it into a very low power state until the button is pressed.

Statistics: Posted by PhilE — Sun Mar 03, 2024 10:04 pm



Viewing all articles
Browse latest Browse all 3990

Trending Articles