From 52c61011d4000b49edb0783fcca05952b0da7ee2 Mon Sep 17 00:00:00 2001 From: madaidan <50278627+madaidan@users.noreply.github.com> Date: Mon, 8 Jul 2019 22:58:56 +0000 Subject: [PATCH] Create panic-on-oops --- usr/lib/security-misc/panic-on-oops | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 usr/lib/security-misc/panic-on-oops diff --git a/usr/lib/security-misc/panic-on-oops b/usr/lib/security-misc/panic-on-oops new file mode 100644 index 0000000..e67ab72 --- /dev/null +++ b/usr/lib/security-misc/panic-on-oops @@ -0,0 +1,7 @@ +#!/bin/bash + +## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP +## See the file COPYING for copying conditions. + +# Makes the kernel panic on oopses. +sysctl kernel.panic_on_oops=1