mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-17 06:03:56 -05:00
Move kernel.panic=-1 setting to sysctl, allow turning panic-on-oops off with systemctl
This commit is contained in:
parent
725565c42e
commit
135ee80450
3 changed files with 22 additions and 20 deletions
|
|
@ -14,7 +14,8 @@ After=getty.target
|
|||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/libexec/security-misc/panic-on-oops
|
||||
ExecStart=/usr/libexec/security-misc/panic-on-oops enable
|
||||
ExecStop=/usr/libexec/security-misc/panic-on-oops disable
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue