Nespi4 case safe shutdown script to use in raspberrypi OS and which method should i use to boot from an SSD?

Hi @Zohan2000

Welcome to the forum!

We have a forum topic on doing just this that should get you started.