Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst/arch/i386 Only turn ttyE[1-9] on, and ...



details:   https://anonhg.NetBSD.org/src/rev/843fe6c14ef9
branches:  trunk
changeset: 516099:843fe6c14ef9
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Mon Oct 15 22:49:36 2001 +0000

description:
Only turn ttyE[1-9] on, and explicitly leave ttyE0 off, as recommended
in PR #14075. (Since PR #13249 was fixed, we have /dev/console enabled
in /etc/ttys on i386 by default!)

diffstat:

 distrib/utils/sysinst/arch/i386/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e575c472f799 -r 843fe6c14ef9 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Mon Oct 15 22:20:03 2001 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Mon Oct 15 22:49:36 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.56 2001/09/13 18:09:19 jdolecek Exp $ */
+/*     $NetBSD: md.c,v 1.57 2001/10/15 22:49:36 hubertf Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -483,7 +483,7 @@
                strncpy(realfrom, target_expand("/etc/ttys"), STRSIZE);
                strncpy(realto, target_expand("/etc/ttys.install"), STRSIZE);
                sprintf(cmd, "sed "
-                               "-e '/^ttyE/s/off/on/'"
+                               "-e '/^ttyE[1-9]/s/off/on/'"
                                " < %s > %s", realfrom, realto);
        }
                



Home | Main Index | Thread Index | Old Index