The would have saved me so much pain in the past
https://www.ostechnix.com/avoid-accidental-shutdown-reboot-linux/
Simply:
https://www.ostechnix.com/avoid-accidental-shutdown-reboot-linux/
Simply:
Code:
apt install molly-guard