SVN: rc-scripts/trunk/rc.d/rc.sysinit

adwol adwol at pld-linux.org
Wed Jun 20 15:23:48 CEST 2012


Author: adwol
Date: Wed Jun 20 15:23:48 2012
New Revision: 12572

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- extra sysctl right after mounting /proc


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Wed Jun 20 15:23:48 2012
@@ -175,6 +175,9 @@
 	# we need /proc mounted before everything
 	is_fsmounted proc /proc || mount -n /proc || mount -n -o gid=17,hidepid=2 -t proc /proc /proc
 
+	# Early sysctls
+	sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
+
 	# Only read this once.
 	cmdline=$(cat /proc/cmdline)
 	if strstr "$cmdline" "pld.no-upstart" ; then


More information about the pld-cvs-commit mailing list