diff options
author | Bill Nottingham <notting@redhat.com> | 2006-03-14 22:43:49 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-03-14 22:43:49 +0000 |
commit | 9e9bfa81b6c7176090d908e054266fca0c6f2e77 (patch) | |
tree | d7e38f4dbd6144fe49050da671c694bc0aaff96a /rc.d/rc.sysinit | |
parent | 3cfc37d9ac43004261506f6e009b01656d4aee4d (diff) | |
download | initscripts-9e9bfa81b6c7176090d908e054266fca0c6f2e77.tar initscripts-9e9bfa81b6c7176090d908e054266fca0c6f2e77.tar.gz initscripts-9e9bfa81b6c7176090d908e054266fca0c6f2e77.tar.bz2 initscripts-9e9bfa81b6c7176090d908e054266fca0c6f2e77.tar.xz initscripts-9e9bfa81b6c7176090d908e054266fca0c6f2e77.zip |
set context on /dev/pts (#185436)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 308dd3e8..e55425d3 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -178,10 +178,14 @@ if [ -f /etc/rc.modules ]; then /etc/rc.modules fi +# Network goo. + + # Start the graphical boot, if necessary; /usr may not be mounted yet, so we # may have to do this again after mounting RHGB_STARTED=0 mount -n /dev/pts >/dev/null 2>&1 +[ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1 if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then LC_MESSAGES= /usr/bin/rhgb |