To power up, all that’s required is to connect physical pin 5 (BCM 3) to the ground next to it. This functionality is enabled by default.
To shut down with the same button, just add the line
config.txtis read only
to edit ssh
then to make it read only again
Millions of Thanks!!!