aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-10 19:14:16 +0000
committerBill Nottingham <notting@redhat.com>2003-09-10 19:14:16 +0000
commit0e33cecce10d566567b16c692fee21678d2c11c3 (patch)
tree53a5632fcd5cfa680a869fbc4603b1d1b71cdcc1
parenta5e3e2d134ca7a44741240bfef1153e2e9a5c85d (diff)
downloadinitscripts-0e33cecce10d566567b16c692fee21678d2c11c3.tar
initscripts-0e33cecce10d566567b16c692fee21678d2c11c3.tar.gz
initscripts-0e33cecce10d566567b16c692fee21678d2c11c3.tar.bz2
initscripts-0e33cecce10d566567b16c692fee21678d2c11c3.tar.xz
initscripts-0e33cecce10d566567b16c692fee21678d2c11c3.zip
the vio check requires /proc, so mount it before sourcing
/etc/init.d/functions (#103990)
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 3 insertions, 5 deletions
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