use pre.bsh

This commit is contained in:
Patrick Schleizer 2019-07-13 17:59:49 +00:00
parent 7afddb028f
commit c389e13e1a
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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