diff options
author | Bill Nottingham <notting@redhat.com> | 2003-09-10 19:13:12 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-09-10 19:13:12 +0000 |
commit | 3ff66b8d5c190e82ec91c91a7684c80d67119a75 (patch) | |
tree | 130fe35ab05f6813605926a9566e473e114ef68c /rc.d | |
parent | 1649de1d1cb193c160c8cc9d634753db2648dbf7 (diff) | |
download | initscripts-3ff66b8d5c190e82ec91c91a7684c80d67119a75.tar initscripts-3ff66b8d5c190e82ec91c91a7684c80d67119a75.tar.gz initscripts-3ff66b8d5c190e82ec91c91a7684c80d67119a75.tar.bz2 initscripts-3ff66b8d5c190e82ec91c91a7684c80d67119a75.tar.xz initscripts-3ff66b8d5c190e82ec91c91a7684c80d67119a75.zip |
the vio check in consoletype requires /proc, so we must mount
/proc before sourcing /etc/init.d/functions (#103990)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 7 |
1 files 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 |