From 0e33cecce10d566567b16c692fee21678d2c11c3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 10 Sep 2003 19:14:16 +0000 Subject: the vio check requires /proc, so mount it before sourcing /etc/init.d/functions (#103990) --- rc.d/rc.sysinit | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 093a53f2..a4aa9953 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) +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,10 +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 if ! fgrep -q nogui /proc/cmdline && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then /usr/bin/rhgb -- cgit v1.2.1