Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-07-06 21:39:13 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-08-01 23:23:28 (GMT)
commitf3ee4f2a7efbb4565e30cb3ebc13da32b73c97d1 (patch)
tree8cc2ec19e3a0632552b87ff88a9bcc15209eb3ed
parent03e00e5c1f6bffa5c111489fc64c72cf2fe5affa (diff)
base: update sysctl customisation for F18
Use our own customisation file rather than mangling the Fedora-shipped one.
-rw-r--r--modules/base/kspost.10.core.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index a110377..bde5c34 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -199,9 +199,8 @@ find / -xdev -type f -perm 000 -exec chmod 400 {} +
# source code as of time of writing) are not utilised.
find /var/lib/yum/yumdb -type f -name 'from_repo_revision' -delete -o -name 'from_repo_timestamp' -delete
-# enable sysrq by default during development cycle
-# possibly useful for debugging phantom hangs
-sed -i -e 's/kernel.sysrq = 0/kernel.sysrq = 1/' /etc/sysctl.conf
+# enable sysrq by default, possibly useful for debugging phantom hangs
+echo "kernel.sysrq = 1" > /usr/lib/sysctl.d/10-olpc.conf
# disable NetworkManager's rh-ifcfg plugin (#9789)
# this ensures that network configs are stored in