diff options
-rw-r--r-- | sh/init-early.sh.Linux.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/init-early.sh.Linux.in b/sh/init-early.sh.Linux.in index 1898c440..f07bc11b 100644 --- a/sh/init-early.sh.Linux.in +++ b/sh/init-early.sh.Linux.in @@ -33,6 +33,9 @@ else kmode="-a" fi +# Set the SELinux label on console before everything so we dont lose output +[ -x /sbin/restorecon ] && /sbin/restorecon -F /dev/console + # Try and set a font and as early as we can if service_present "$RC_DEFAULTLEVEL" consolefont || service_present "$RC_BOOTLEVEL" consolefont; then |