aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-17 04:16:45 +0000
committerBill Nottingham <notting@redhat.com>2004-10-17 04:16:45 +0000
commitf168918217b51512c9501d3f2c649efc93548e08 (patch)
treef0a19bd87d061484c83b5f805d1362cea4beb584 /rc.d/rc.sysinit
parentf4a26c5f50d80000af0c6cf585c5be84111db935 (diff)
downloadinitscripts-f168918217b51512c9501d3f2c649efc93548e08.tar
initscripts-f168918217b51512c9501d3f2c649efc93548e08.tar.gz
initscripts-f168918217b51512c9501d3f2c649efc93548e08.tar.bz2
initscripts-f168918217b51512c9501d3f2c649efc93548e08.tar.xz
initscripts-f168918217b51512c9501d3f2c649efc93548e08.zip
make sure we return to rhgb after fsck (#133966, #112839)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index bd9f322b..b228863c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -67,6 +67,9 @@ relabel_selinux() {
rm -f /.autorelabel
echo "*** Enabling security enforcement. ***"
echo $SELINUX > $selinuxfs/enforce
+ if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
+ chvt 8
+ fi
}
@@ -421,6 +424,9 @@ if [ -z "$fastboot" -a "$READONLY" != "yes" -a "X$ROOTFSTYPE" != "Xnfs" -a "X$RO
elif [ "$rc" -eq "1" ]; then
_RUN_QUOTACHECK=1
fi
+ if [ -f /.autofsck -a -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
+ chvt 8
+ fi
fi
# Unmount the initrd, if necessary
if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then