aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-02-19 20:33:39 +0000
committerBill Nottingham <notting@redhat.com>2003-02-19 20:33:39 +0000
commitb0de0e43c72103c05dd4632224b887a88228c4b2 (patch)
tree4377835f6d9c89f7a6ff4e7eb25f6aaab44fae7f /rc.d/rc.sysinit
parentf620b1cbfb665bc332cf4146b30a9581b4c3da2a (diff)
downloadinitscripts-b0de0e43c72103c05dd4632224b887a88228c4b2.tar
initscripts-b0de0e43c72103c05dd4632224b887a88228c4b2.tar.gz
initscripts-b0de0e43c72103c05dd4632224b887a88228c4b2.tar.bz2
initscripts-b0de0e43c72103c05dd4632224b887a88228c4b2.tar.xz
initscripts-b0de0e43c72103c05dd4632224b887a88228c4b2.zip
initialize tty7 and 8 always. for GDM.
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 0ef4c8ad..ad80efc0 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -37,6 +37,9 @@ fi
if [ "`/sbin/consoletype`" = "vt" -a -x /sbin/setsysfont ]; then
for i in `LC_ALL=C grep '^[0-9]*.*respawn:/sbin/mingetty' /etc/inittab | sed 's/^.* tty\([0-9][0-9]*\).*/\1/g'`; do
> /dev/tty$i
+ # For gdm use
+ > /dev/tty7
+ > /dev/tty8
done
echo -n "Setting default font ($SYSFONT): "
/sbin/setsysfont