how to safely shut down raspberry pi while hang code example Example: raspberry pi reboot command sudo reboot