aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-06-11 16:09:24 +0000
committerBill Nottingham <notting@redhat.com>2003-06-11 16:09:24 +0000
commit781b0f41187b41c3cf1d2e0f570ec2432b146660 (patch)
tree91f151902552af3fc543f6d911f55b65c4dd32a4 /rc.d
parentb9029109f91980cfef4007f7e565f4115308fec9 (diff)
downloadinitscripts-781b0f41187b41c3cf1d2e0f570ec2432b146660.tar
initscripts-781b0f41187b41c3cf1d2e0f570ec2432b146660.tar.gz
initscripts-781b0f41187b41c3cf1d2e0f570ec2432b146660.tar.bz2
initscripts-781b0f41187b41c3cf1d2e0f570ec2432b146660.tar.xz
initscripts-781b0f41187b41c3cf1d2e0f570ec2432b146660.zip
fix grep (#97188)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index dcf2ba26..c03a5c9d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -26,7 +26,7 @@ fi
if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ]; then
last=0
- for i in `LC_ALL=C grep '^[0-9]*.*respawn:/sbin/mingetty' /etc/inittab | sed 's/^.* tty\([0-9][0-9]*\).*/\1/g'`; 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
last=$i
done