From 39513e0e3f7e25c3bfc0bd21486f5a1b19a26994 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 10 Feb 2019 05:49:41 +0100 Subject: [PATCH] Add code enable and disable scripts --- disable.core | 2 ++ enable.core | 2 ++ 2 files changed, 4 insertions(+) create mode 100755 disable.core create mode 100755 enable.core diff --git a/disable.core b/disable.core new file mode 100755 index 0000000..92b6d3c --- /dev/null +++ b/disable.core @@ -0,0 +1,2 @@ +#! /bin/sh +echo '|/bin/false' > /proc/sys/kernel/core_pattern diff --git a/enable.core b/enable.core new file mode 100755 index 0000000..84677ca --- /dev/null +++ b/enable.core @@ -0,0 +1,2 @@ +#! /bin/sh +echo 'dump.%e.%t.%p.core' > /proc/sys/kernel/core_pattern -- 2.41.1