]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- extra sysctl right after mounting /proc
authorAdam Osuchowski <adwol@pld-linux.org>
Wed, 20 Jun 2012 13:23:48 +0000 (13:23 +0000)
committerAdam Osuchowski <adwol@pld-linux.org>
Wed, 20 Jun 2012 13:23:48 +0000 (13:23 +0000)
svn-id: @12572

rc.d/rc.sysinit

index fa990e3040f14e5d3a18ac869aa27cd6f984c6cf..e135bce7afa08e5c3d90b81e8f934543a49195e9 100755 (executable)
@@ -175,6 +175,9 @@ if ! is_yes "$VSERVER" ; then
        # 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
This page took 0.496711 seconds and 4 git commands to generate.