Module Name: src
Committed By: gson
Date: Tue Jul 18 17:15:45 UTC 2017
Modified Files:
src/usr.sbin/sysinst/arch/landisk: 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 subsequent
screens, and the message "Hit enter to continue" will be redrawn after
the set selection is complete, which confuses literal-minded robotic
users such as anita.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/landisk/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/landisk/md.c
diff -u src/usr.sbin/sysinst/arch/landisk/md.c:1.2 src/usr.sbin/sysinst/arch/landisk/md.c:1.3
--- src/usr.sbin/sysinst/arch/landisk/md.c:1.2 Sun Aug 3 16:09:40 2014
+++ src/usr.sbin/sysinst/arch/landisk/md.c Tue Jul 18 17:15:45 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.2 2014/08/03 16:09:40 martin Exp $ */
+/* $NetBSD: md.c,v 1.3 2017/07/18 17:15:45 gson Exp $ */
/*
* Copyright 1997,2002 Piermont Information Systems Inc.
@@ -128,7 +128,7 @@ md_post_newfs(void)
cp_to_target("/usr/mdec/boot", "/boot");
bootxx = bootxx_name();
if (bootxx != NULL) {
- error = run_program(RUN_DISPLAY | RUN_NO_CLEAR,
+ error = run_program(RUN_DISPLAY,
"/usr/sbin/installboot -v /dev/r%sa %s", pm->diskdev, bootxx);
free(bootxx);
} else