mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-25 00:09:23 -05:00
use pre.bsh
This commit is contained in:
parent
7afddb028f
commit
c389e13e1a
@ -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…
Reference in New Issue
Block a user