diff options
author | Bill Nottingham <notting@redhat.com> | 2003-06-11 16:09:24 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-06-11 16:09:24 +0000 |
commit | 781b0f41187b41c3cf1d2e0f570ec2432b146660 (patch) | |
tree | 91f151902552af3fc543f6d911f55b65c4dd32a4 /rc.d/rc.sysinit | |
parent | b9029109f91980cfef4007f7e565f4115308fec9 (diff) | |
download | initscripts-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/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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 |