From 3ff66b8d5c190e82ec91c91a7684c80d67119a75 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 10 Sep 2003 19:13:12 +0000 Subject: the vio check in consoletype requires /proc, so we must mount /proc before sourcing /etc/init.d/functions (#103990) --- rc.d/rc.sysinit | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 5d308ec7..bc5b0e37 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -21,6 +21,9 @@ if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then HOSTNAME=localhost fi +# Mount /proc (done here so volume labels can work with fsck) +action $"Mounting proc filesystem: " mount -n -t proc /proc /proc + . /etc/init.d/functions HOSTTYPE=`uname -m` @@ -37,7 +40,6 @@ if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ]; then fi fi -update_boot_stage RCconsole if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then echo -n "Setting default font ($SYSFONT): " /sbin/setsysfont @@ -71,9 +73,6 @@ if [ -n "$LOGLEVEL" ]; then /bin/dmesg -n $LOGLEVEL fi -# Mount /proc (done here so volume labels can work with fsck) -#update_boot_stage RCproc -action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Start the graphical boot, if necessary; /usr may not be mounted yet, so we # may have to do this again after mounting -- cgit v1.2.1