From f3ee4f2a7efbb4565e30cb3ebc13da32b73c97d1 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Fri, 06 Jul 2012 21:39:13 +0000 Subject: base: update sysctl customisation for F18 Use our own customisation file rather than mangling the Fedora-shipped one. --- 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 -- cgit v0.9.1