]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Mount /proc based on fstab first and if that fails fallback to hardcoded values.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 Mar 2012 15:53:04 +0000 (15:53 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 Mar 2012 15:53:04 +0000 (15:53 +0000)
svn-id: @12507

rc.d/rc.sysinit

index 8f2b5bc48b92beb291d2fa82ea63b2813b80f764..ac216d694adf89ca57b403bc2f1371c90952d34c 100755 (executable)
@@ -173,7 +173,7 @@ if ! is_yes "$VSERVER" ; then
        fi
 
        # we need /proc mounted before everything
-       is_fsmounted proc /proc || mount -n -o gid=17 -t proc /proc /proc
+       is_fsmounted proc /proc || mount -n /proc || mount -n -o gid=17,hidepid=2 -t proc /proc /proc
 
        # Only read this once.
        cmdline=$(cat /proc/cmdline)
This page took 0.18054 seconds and 4 git commands to generate.