Module Name: src Committed By: phx Date: Sun Jun 13 15:32:00 UTC 2010
Modified Files: src/distrib/utils/sysinst/arch/sandpoint: md.c Log Message: Automatically adjust the console speed to 57600 in /etc/ttys for KUROBOX kernel. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/distrib/utils/sysinst/arch/sandpoint/md.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/utils/sysinst/arch/sandpoint/md.c diff -u src/distrib/utils/sysinst/arch/sandpoint/md.c:1.31 src/distrib/utils/sysinst/arch/sandpoint/md.c:1.32 --- src/distrib/utils/sysinst/arch/sandpoint/md.c:1.31 Wed Jun 9 17:37:24 2010 +++ src/distrib/utils/sysinst/arch/sandpoint/md.c Sun Jun 13 15:32:00 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.31 2010/06/09 17:37:24 phx Exp $ */ +/* $NetBSD: md.c,v 1.32 2010/06/13 15:32:00 phx Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -160,6 +160,14 @@ { #ifndef DEBUG enable_rc_conf(); + + /* + * For KUROBOX set the console speed to 57600 in /etc/ttys. + */ + if (get_kernel_set() == SET_KERNEL_2) + run_program(RUN_CHROOT, + "sed -an -e 's/115200/57600/;H;$!d;g;w /etc/ttys'" + " /etc/ttys"); #endif }