[Boot] Reboot 5 seconds after panic (instead of just staying there)

This commit is contained in:
Antoine Viallon 2022-04-08 21:18:42 +02:00
parent d6c64124e1
commit fb0b741ea1
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -95,6 +95,10 @@ in
aviallon.boot.cmdline = {
"syscall.x32" = cfg.x32abi.enable;
# Reboot after 5 seconds on panic (prevent system lockup)
"panic" = 5;
# Sets loops_per_jiffy to given constant, thus avoiding time-consuming boot-time autodetection
# https://www.kernel.org/doc/html/v5.15/admin-guide/kernel-parameters.html
"lpj" = cfg.loops_per_jiffies;