Yep, Linux can do that ! By default in most distribution this feature is disable. To enable it simply edit the /etc/sysctl.conf
file and add the following lines:
kernel.panic = 1
kernel.panic_on_oops = 1
Now kernel panic and oops, will automatically trigger an hardware reboot. Don’t forget sysctl -p
to take the new values into account immediately.