aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-12-08 22:34:08 +0000
committerErik Troan <ewt@redhat.com>1997-12-08 22:34:08 +0000
commit74f8d391736a0cc1b959d109830cdb75b661319f (patch)
tree825d41b6d38d299952ad1774e563c0b52d6e41f1 /rc.d/rc.sysinit
parentfcb4fa1ae722a08291d735b1d0b42d63dc1a6b58 (diff)
downloadinitscripts-74f8d391736a0cc1b959d109830cdb75b661319f.tar
initscripts-74f8d391736a0cc1b959d109830cdb75b661319f.tar.gz
initscripts-74f8d391736a0cc1b959d109830cdb75b661319f.tar.bz2
initscripts-74f8d391736a0cc1b959d109830cdb75b661319f.tar.xz
initscripts-74f8d391736a0cc1b959d109830cdb75b661319f.zip
changed how /proc gets mounted so that it ends up in /etc/mtab
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index fabe8c34..859c2636 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -82,6 +82,8 @@ if [ -x /sbin/isapnp -a -f /etc/isapnp.conf ]; then
fi
fi
+umount -n /proc
+
# Remount the root filesystem read-write.
echo "Remounting root filesystem in read-write mode."
mount -n -o remount,rw /
@@ -95,6 +97,7 @@ fi
# Enter root into mtab.
mount -f /
+mount -t proc /proc /proc
if [ -f /proc/ksyms ]; then
USEMODULES=y