From: Raphaƫl Gertz Date: Sun, 10 Feb 2019 04:49:41 +0000 (+0100) Subject: Add code enable and disable scripts X-Git-Url: https://git.rapsys.eu/bbcode/commitdiff_plain/39513e0e3f7e25c3bfc0bd21486f5a1b19a26994?ds=inline Add code enable and disable scripts --- 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