aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index e2b670f1..94808669 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -48,6 +48,9 @@ disable_selinux() {
}
relabel_selinux() {
+ if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
+ chvt 1
+ fi
echo "
*** Warning -- SELinux relabel is required. ***
*** Disabling security enforcement. ***