[UNTESTED] Auto Reboot after Kernel Panics
Set at runtime:
echo 20 | sudo tee /proc/sys/kernel/panic
Alternatively, to make it persistent, create and edit /etc/sysctl.d/99-panic-reboot.conf:
sudo nano /etc/sysctl.d/99-panic-reboot.conf
With the following content:
kernel.panic = 20
Apply changes:
sudo sysctl --system
References
https://hub.mender.io/t/how-to-make-raspberry-pi-auto-reboot-after-kernel-panic/5152
ChatGPT