/boot/config.txt
Objective
Provide the few boot options that I use on my RPIs.
Config.txt
Builtin power on/off button
Connect a button to pin 5 and ground to issue a soft shutdown.
[pi4]
dtparam=i2c_arm=off
dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1Last updated
Was this helpful?