Module Name:    src
Committed By:   gson
Date:           Mon Sep 11 15:24:28 UTC 2017

Modified Files:
        src/usr.sbin/sysinst/arch/i386: md.c

Log Message:
Clear the screen after running installboot.  If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/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/usr.sbin/sysinst/arch/i386/md.c
diff -u src/usr.sbin/sysinst/arch/i386/md.c:1.6 src/usr.sbin/sysinst/arch/i386/md.c:1.7
--- src/usr.sbin/sysinst/arch/i386/md.c:1.6	Sun May 10 10:14:02 2015
+++ src/usr.sbin/sysinst/arch/i386/md.c	Mon Sep 11 15:24:28 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.6 2015/05/10 10:14:02 martin Exp $ */
+/*	$NetBSD: md.c,v 1.7 2017/09/11 15:24:28 gson Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -347,11 +347,11 @@ md_post_newfs(void)
 		    "console=%s,speed=%u", consoles[boottype.bp_consdev],
 		    boottype.bp_conspeed);
 		if (pm->isspecial) {
-                	ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,                 
+                	ret = run_program(RUN_DISPLAY,
                 	    "/usr/sbin/installboot -o %s /dev/r%s %s",
 			    boot_options, pm->diskdev, bootxx_filename); 
 		} else {
-                	ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,                 
+                	ret = run_program(RUN_DISPLAY,
                 	    "/usr/sbin/installboot -o %s /dev/r%s%c %s",
 			    boot_options, pm->diskdev, 'a' + pm->rootpart,
 			    bootxx_filename); 

Reply via email to