mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 22:14:50 -04:00
use pre.bsh
This commit is contained in:
parent
7afddb028f
commit
c389e13e1a
1 changed files with 7 additions and 0 deletions
|
@ -3,5 +3,12 @@
|
|||
## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
if [ -f /usr/lib/helper-scripts/pre.bsh ]; then
|
||||
## pre.bsh would `source` the following folders:
|
||||
## /etc/panic-on-oops_pre.d/*.conf
|
||||
## /usr/local/etc/panic-on-oops_pre.d/*.conf
|
||||
source /usr/lib/helper-scripts/pre.bsh
|
||||
fi
|
||||
|
||||
# Makes the kernel panic on oopses.
|
||||
sysctl kernel.panic_on_oops=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue