aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-06-20 11:55:56 -0400
committerBill Nottingham <notting@redhat.com>2008-06-20 11:55:56 -0400
commit6f169f97b991fef106063d926af0883d427a8975 (patch)
tree3ee5bb14b0494866f722d72246cb58eee5bbd1d7 /rc.d/rc.sysinit
parent3b9c520b29c517f876636acfdc89595c5ce8dd3c (diff)
downloadinitscripts-6f169f97b991fef106063d926af0883d427a8975.tar
initscripts-6f169f97b991fef106063d926af0883d427a8975.tar.gz
initscripts-6f169f97b991fef106063d926af0883d427a8975.tar.bz2
initscripts-6f169f97b991fef106063d926af0883d427a8975.tar.xz
initscripts-6f169f97b991fef106063d926af0883d427a8975.zip
Fix /dev/pts mountinitscripts-8.78-1
Diffstat (limited to 'rc.d/rc.sysinit')
-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 7dcf5c39..9637b8ab 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -301,6 +301,9 @@ if [ -f /etc/rc.modules ]; then
/etc/rc.modules
fi
+mount -n /dev/pts >/dev/null 2>&1
+[ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1
+
# Configure kernel parameters
update_boot_stage RCkernelparam
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1