Don't update mtab upon mounting procfs

It causes an ugly error message when booting from cd and it gets
overwritten by `printroot >/etc/mtab` in /etc/rc anyway.
This commit is contained in:
Thomas Veerman 2012-02-14 15:44:21 +00:00
parent a8b1dd7809
commit 0491126758

View file

@ -72,6 +72,6 @@ if [ -e $FSCK ]
then $FSCK -p $rootdevname then $FSCK -p $rootdevname
fi fi
/bin/newroot $bin_img"$rootdevname" /bin/newroot $bin_img"$rootdevname"
/bin/mount -e -t procfs none /proc || echo "WARNING: couldn't mount procfs" /bin/mount -e -n -t procfs none /proc || echo "WARNING: couldn't mount procfs"
exec /bin/sh /etc/rc "$@" exec /bin/sh /etc/rc "$@"