37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
|
From af6a96a36415400482ad504392ea93c6a0e2ed43 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||
|
Date: Thu, 26 Feb 2015 19:05:51 -0500
|
||
|
Subject: [PATCH] sysctl: add some hints how to override settings
|
||
|
|
||
|
Also a link to decent documentation for sysrq keys. It is surprising
|
||
|
hard to find.
|
||
|
|
||
|
https://lists.fedoraproject.org/pipermail/devel/2015-February/208412.html
|
||
|
(cherry picked from commit 16b65d7f463e91f6299dfa7b83d4b5fbeb109d1c)
|
||
|
---
|
||
|
sysctl.d/50-default.conf | 9 ++++++++-
|
||
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf
|
||
|
index f18923399b..def151bb84 100644
|
||
|
--- a/sysctl.d/50-default.conf
|
||
|
+++ b/sysctl.d/50-default.conf
|
||
|
@@ -5,9 +5,16 @@
|
||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
|
||
|
-# See sysctl.d(5) and core(5) for for details.
|
||
|
+# See sysctl.d(5) and core(5) for for documentation.
|
||
|
+
|
||
|
+# To override settings in this file, create a local file in /etc
|
||
|
+# (e.g. /etc/sysctl.d/90-override.conf), and put any assignments
|
||
|
+# there.
|
||
|
|
||
|
# System Request functionality of the kernel (SYNC)
|
||
|
+#
|
||
|
+# Use kernel.sysrq = 1 to allow all keys.
|
||
|
+# See http://fedoraproject.org/wiki/QA/Sysrq for a list of values and keys.
|
||
|
kernel.sysrq = 16
|
||
|
|
||
|
# Append the PID to the core filename
|