aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rwxr-xr-xrc.d/rc.sysinit2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f786fd4..0c6453eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-01-15 Nalin Dahyabhai <nalin@redhat.com>
+
+ * rc.d/rc.sysinit:
+ discard anything after the name of the tty when looking
+ for mingetty invocations in /etc/inittab, avoids barfing
+ on systems where 'mingetty /dev/ttyFOO --noclear' is in
+ use (like mine)
+
2003-01-14 Bill Nottingham <notting@redhat.com>
* ChangeLog, initscripts.spec: 7.03-1
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 06f6540b..dffc1e74 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -35,7 +35,7 @@ if [ "$BOOTUP" = "graphical" ]; then
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//'`; do
+ 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
done
echo -n "Setting default font ($SYSFONT): "