2024-12-31 13:26:21 -05:00
|
|
|
## Copyright (C) 2024 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
|
2024-03-04 06:44:26 -05:00
|
|
|
## See the file COPYING for copying conditions.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Sets 'sysctl kernel.panic_on_oops=1' late during the boot process.
|
|
|
|
Documentation=https://github.com/Kicksecure/security-misc
|
|
|
|
|
|
|
|
ConditionKernelCommandLine=!panic-on-oops=0
|
|
|
|
|
2024-11-14 14:41:14 -05:00
|
|
|
After=multi-user.target
|
2024-03-04 06:44:26 -05:00
|
|
|
After=graphical.target
|
|
|
|
After=getty.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=/usr/libexec/security-misc/panic-on-oops
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|