Module Name:    src
Committed By:   msaitoh
Date:           Tue Jan 28 10:20:28 UTC 2020

Modified Files:
        src/distrib/acorn32/ramdisk [netbsd-9]: dot.profile
        src/distrib/alpha/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/amd64/ramdisks/common [netbsd-9]: dot.profile
        src/distrib/arc/ramdisk [netbsd-9]: dot.profile
        src/distrib/atari/floppies/common [netbsd-9]: dot.profile
        src/distrib/bebox/ramdisk [netbsd-9]: dot.profile
        src/distrib/cats/ramdisk [netbsd-9]: dot.profile
        src/distrib/cobalt/ramdisk [netbsd-9]: dot.profile
        src/distrib/dreamcast/ramdisk [netbsd-9]: dot.profile
        src/distrib/emips/miniroot [netbsd-9]: dot.profile
        src/distrib/emips/ramdisk [netbsd-9]: dot.profile
        src/distrib/evbarm/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/evbmips/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/evbppc/ramdisk [netbsd-9]: dot.profile
        src/distrib/evbsh3/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/ews4800mips/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/hp300/ramdisk [netbsd-9]: dot.profile
        src/distrib/hpcarm/miniroot [netbsd-9]: dot.profile
        src/distrib/hpcmips/miniroot [netbsd-9]: dot.profile
        src/distrib/hpcsh/miniroot [netbsd-9]: dot.profile
        src/distrib/hppa/ramdisk [netbsd-9]: dot.profile
        src/distrib/i386/ramdisks/common [netbsd-9]: dot.profile
        src/distrib/landisk/ramdisk [netbsd-9]: dot.profile
        src/distrib/luna68k/ramdisk [netbsd-9]: dot.profile
        src/distrib/mac68k/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/macppc/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/mipsco/ramdisk [netbsd-9]: dot.profile
        src/distrib/mvme68k/miniroot [netbsd-9]: dot.profile
        src/distrib/news68k/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/newsmips/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/ofppc/ramdisks/common [netbsd-9]: dot.profile
        src/distrib/playstation2/miniroot [netbsd-9]: dot.profile
        src/distrib/pmax/miniroot [netbsd-9]: dot.profile
        src/distrib/pmax/ramdisk [netbsd-9]: dot.profile
        src/distrib/prep/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/riscv/ramdisk [netbsd-9]: dot.profile
        src/distrib/rs6000/ramdisk [netbsd-9]: dot.profile
        src/distrib/sandpoint/ramdisk [netbsd-9]: dot.profile
        src/distrib/sgimips/miniroot [netbsd-9]: dot.profile
        src/distrib/sgimips/ramdisk [netbsd-9]: dot.profile
        src/distrib/shark/instkernel/ramdisk [netbsd-9]: dot.profile
        src/distrib/sparc/miniroot [netbsd-9]: dot.profile
        src/distrib/sparc64/instfs [netbsd-9]: dot.profile
        src/distrib/vax/ramdisk [netbsd-9]: dot.profile
        src/distrib/x68k/floppies/ramdisk [netbsd-9]: dot.profile
        src/distrib/zaurus/ramdisk [netbsd-9]: dot.profile

Log Message:
Pull up following revision(s) (requested by martin in ticket #669):
        distrib/playstation2/miniroot/dot.profile: revision 1.5
        distrib/sparc64/instfs/dot.profile: revision 1.8
        distrib/hpcarm/miniroot/dot.profile: revision 1.3
        distrib/emips/miniroot/dot.profile: revision 1.2
        distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
        distrib/zaurus/ramdisk/dot.profile: revision 1.4
        distrib/i386/ramdisks/common/dot.profile: revision 1.7
        distrib/cobalt/ramdisk/dot.profile: revision 1.2
        distrib/hpcsh/miniroot/dot.profile: revision 1.5
        distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
        distrib/riscv/ramdisk/dot.profile: revision 1.2
        distrib/sandpoint/ramdisk/dot.profile: revision 1.2
        distrib/landisk/ramdisk/dot.profile: revision 1.3
        distrib/amd64/ramdisks/common/dot.profile: revision 1.4
        distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
        distrib/mipsco/ramdisk/dot.profile: revision 1.3
        distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
        distrib/acorn32/ramdisk/dot.profile: revision 1.4
        distrib/cats/ramdisk/dot.profile: revision 1.5
        distrib/vax/ramdisk/dot.profile: revision 1.10
        distrib/pmax/miniroot/dot.profile: revision 1.3
        distrib/sparc/miniroot/dot.profile: revision 1.16
        distrib/hpcmips/miniroot/dot.profile: revision 1.8
        distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
        distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
        distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
        distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
        distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
        distrib/hp300/ramdisk/dot.profile: revision 1.7
        distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
        distrib/emips/ramdisk/dot.profile: revision 1.3
        distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
        distrib/bebox/ramdisk/dot.profile: revision 1.2
        distrib/rs6000/ramdisk/dot.profile: revision 1.2
        distrib/sgimips/miniroot/dot.profile: revision 1.2
        distrib/mvme68k/miniroot/dot.profile: revision 1.9
        distrib/hppa/ramdisk/dot.profile: revision 1.2
        distrib/luna68k/ramdisk/dot.profile: revision 1.2
        distrib/sgimips/ramdisk/dot.profile: revision 1.4
        distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
        distrib/evbppc/ramdisk/dot.profile: revision 1.5
        distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
        distrib/pmax/ramdisk/dot.profile: revision 1.11
        distrib/dreamcast/ramdisk/dot.profile: revision 1.3
        distrib/arc/ramdisk/dot.profile: revision 1.5
        distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.102.1 src/distrib/acorn32/ramdisk/dot.profile
cvs rdiff -u -r1.10 -r1.10.50.1 \
    src/distrib/alpha/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.3 -r1.3.48.1 src/distrib/amd64/ramdisks/common/dot.profile
cvs rdiff -u -r1.4 -r1.4.52.1 src/distrib/arc/ramdisk/dot.profile
cvs rdiff -u -r1.7 -r1.7.6.1 src/distrib/atari/floppies/common/dot.profile
cvs rdiff -u -r1.1 -r1.1.50.1 src/distrib/bebox/ramdisk/dot.profile
cvs rdiff -u -r1.4 -r1.4.74.1 src/distrib/cats/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.76.1 src/distrib/cobalt/ramdisk/dot.profile
cvs rdiff -u -r1.2 -r1.2.102.1 src/distrib/dreamcast/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.50.1 src/distrib/emips/miniroot/dot.profile
cvs rdiff -u -r1.2 -r1.2.46.1 src/distrib/emips/ramdisk/dot.profile
cvs rdiff -u -r1.2 -r1.2.102.1 \
    src/distrib/evbarm/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.90.1 \
    src/distrib/evbmips/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.4 -r1.4.36.1 src/distrib/evbppc/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.50.1 \
    src/distrib/evbsh3/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.90.1 \
    src/distrib/ews4800mips/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.6 -r1.6.48.1 src/distrib/hp300/ramdisk/dot.profile
cvs rdiff -u -r1.2 -r1.2.50.1 src/distrib/hpcarm/miniroot/dot.profile
cvs rdiff -u -r1.7 -r1.7.50.1 src/distrib/hpcmips/miniroot/dot.profile
cvs rdiff -u -r1.4 -r1.4.50.1 src/distrib/hpcsh/miniroot/dot.profile
cvs rdiff -u -r1.1 -r1.1.32.1 src/distrib/hppa/ramdisk/dot.profile
cvs rdiff -u -r1.6 -r1.6.48.1 src/distrib/i386/ramdisks/common/dot.profile
cvs rdiff -u -r1.2 -r1.2.50.1 src/distrib/landisk/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.46.1 src/distrib/luna68k/ramdisk/dot.profile
cvs rdiff -u -r1.8 -r1.8.102.1 \
    src/distrib/mac68k/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.13 -r1.13.102.1 \
    src/distrib/macppc/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.2 -r1.2.102.1 src/distrib/mipsco/ramdisk/dot.profile
cvs rdiff -u -r1.8 -r1.8.102.1 src/distrib/mvme68k/miniroot/dot.profile
cvs rdiff -u -r1.7 -r1.7.102.1 \
    src/distrib/news68k/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.6 -r1.6.102.1 \
    src/distrib/newsmips/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.76.1 src/distrib/ofppc/ramdisks/common/dot.profile
cvs rdiff -u -r1.4 -r1.4.30.1 src/distrib/playstation2/miniroot/dot.profile
cvs rdiff -u -r1.2 -r1.2.90.1 src/distrib/pmax/miniroot/dot.profile
cvs rdiff -u -r1.10 -r1.10.90.1 src/distrib/pmax/ramdisk/dot.profile
cvs rdiff -u -r1.2 -r1.2.102.1 src/distrib/prep/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.18.1 src/distrib/riscv/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.52.1 src/distrib/rs6000/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.78.1 src/distrib/sandpoint/ramdisk/dot.profile
cvs rdiff -u -r1.1 -r1.1.104.1 src/distrib/sgimips/miniroot/dot.profile
cvs rdiff -u -r1.3 -r1.3.102.1 src/distrib/sgimips/ramdisk/dot.profile
cvs rdiff -u -r1.4 -r1.4.80.1 \
    src/distrib/shark/instkernel/ramdisk/dot.profile
cvs rdiff -u -r1.15 -r1.15.50.1 src/distrib/sparc/miniroot/dot.profile
cvs rdiff -u -r1.7 -r1.7.36.1 src/distrib/sparc64/instfs/dot.profile
cvs rdiff -u -r1.9 -r1.9.36.1 src/distrib/vax/ramdisk/dot.profile
cvs rdiff -u -r1.15 -r1.15.50.1 src/distrib/x68k/floppies/ramdisk/dot.profile
cvs rdiff -u -r1.3 -r1.3.48.1 src/distrib/zaurus/ramdisk/dot.profile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/acorn32/ramdisk/dot.profile
diff -u src/distrib/acorn32/ramdisk/dot.profile:1.3 src/distrib/acorn32/ramdisk/dot.profile:1.3.102.1
--- src/distrib/acorn32/ramdisk/dot.profile:1.3	Sat Jul 26 17:06:25 2003
+++ src/distrib/acorn32/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.3 2003/07/26 17:06:25 salo Exp $
+# $NetBSD: dot.profile,v 1.3.102.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/alpha/instkernel/ramdisk/dot.profile
diff -u src/distrib/alpha/instkernel/ramdisk/dot.profile:1.10 src/distrib/alpha/instkernel/ramdisk/dot.profile:1.10.50.1
--- src/distrib/alpha/instkernel/ramdisk/dot.profile:1.10	Sun Mar 29 10:12:31 2009
+++ src/distrib/alpha/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.10 2009/03/29 10:12:31 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.10.50.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -u $ROOTDEV /
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/amd64/ramdisks/common/dot.profile
diff -u src/distrib/amd64/ramdisks/common/dot.profile:1.3 src/distrib/amd64/ramdisks/common/dot.profile:1.3.48.1
--- src/distrib/amd64/ramdisks/common/dot.profile:1.3	Sun Feb 13 03:58:38 2011
+++ src/distrib/amd64/ramdisks/common/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.3 2011/02/13 03:58:38 jym Exp $
+#	$NetBSD: dot.profile,v 1.3.48.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/arc/ramdisk/dot.profile
diff -u src/distrib/arc/ramdisk/dot.profile:1.4 src/distrib/arc/ramdisk/dot.profile:1.4.52.1
--- src/distrib/arc/ramdisk/dot.profile:1.4	Thu Nov 20 13:43:28 2008
+++ src/distrib/arc/ramdisk/dot.profile	Tue Jan 28 10:20:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2008/11/20 13:43:28 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.4.52.1 2020/01/28 10:20:28 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/atari/floppies/common/dot.profile
diff -u src/distrib/atari/floppies/common/dot.profile:1.7 src/distrib/atari/floppies/common/dot.profile:1.7.6.1
--- src/distrib/atari/floppies/common/dot.profile:1.7	Sat Nov 25 09:40:17 2017
+++ src/distrib/atari/floppies/common/dot.profile	Tue Jan 28 10:20:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.7 2017/11/25 09:40:17 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.7.6.1 2020/01/28 10:20:28 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -107,5 +107,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		break
 	done
 
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/bebox/ramdisk/dot.profile
diff -u src/distrib/bebox/ramdisk/dot.profile:1.1 src/distrib/bebox/ramdisk/dot.profile:1.1.50.1
--- src/distrib/bebox/ramdisk/dot.profile:1.1	Sun Oct 17 11:05:18 2010
+++ src/distrib/bebox/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2010/10/17 11:05:18 kiyohara Exp $
+# $NetBSD: dot.profile,v 1.1.50.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/cats/ramdisk/dot.profile
diff -u src/distrib/cats/ramdisk/dot.profile:1.4 src/distrib/cats/ramdisk/dot.profile:1.4.74.1
--- src/distrib/cats/ramdisk/dot.profile:1.4	Fri Feb  1 17:18:07 2008
+++ src/distrib/cats/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2008/02/01 17:18:07 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.4.74.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	# run the installation or upgrade script.
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/cobalt/ramdisk/dot.profile
diff -u src/distrib/cobalt/ramdisk/dot.profile:1.1 src/distrib/cobalt/ramdisk/dot.profile:1.1.76.1
--- src/distrib/cobalt/ramdisk/dot.profile:1.1	Sat Feb  2 14:06:48 2008
+++ src/distrib/cobalt/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2008/02/02 14:06:48 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.1.76.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/dreamcast/ramdisk/dot.profile
diff -u src/distrib/dreamcast/ramdisk/dot.profile:1.2 src/distrib/dreamcast/ramdisk/dot.profile:1.2.102.1
--- src/distrib/dreamcast/ramdisk/dot.profile:1.2	Sat Jul 26 17:06:39 2003
+++ src/distrib/dreamcast/ramdisk/dot.profile	Tue Jan 28 10:20:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:39 salo Exp $
+# $NetBSD: dot.profile,v 1.2.102.1 2020/01/28 10:20:28 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-			#	/sysinst
+			#	/sysinst || stty sane
 				echo 'Sorry, sysinst is not ready on this port.'
 				/bin/sh
 				;;

Index: src/distrib/emips/miniroot/dot.profile
diff -u src/distrib/emips/miniroot/dot.profile:1.1 src/distrib/emips/miniroot/dot.profile:1.1.50.1
--- src/distrib/emips/miniroot/dot.profile:1.1	Wed Jan 26 01:18:44 2011
+++ src/distrib/emips/miniroot/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+#	$NetBSD: dot.profile,v 1.1.50.1 2020/01/28 10:20:23 msaitoh Exp $
 PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
 export PATH
 
@@ -17,4 +17,4 @@ export PATH
 		fi
 	done
 
-	sysinst
+	sysinst || stty sane

Index: src/distrib/emips/ramdisk/dot.profile
diff -u src/distrib/emips/ramdisk/dot.profile:1.2 src/distrib/emips/ramdisk/dot.profile:1.2.46.1
--- src/distrib/emips/ramdisk/dot.profile:1.2	Sun Jun 19 02:40:38 2011
+++ src/distrib/emips/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2011/06/19 02:40:38 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.2.46.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -u $ROOTDEV /
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/evbarm/instkernel/ramdisk/dot.profile
diff -u src/distrib/evbarm/instkernel/ramdisk/dot.profile:1.2 src/distrib/evbarm/instkernel/ramdisk/dot.profile:1.2.102.1
--- src/distrib/evbarm/instkernel/ramdisk/dot.profile:1.2	Sat Jul 26 17:06:40 2003
+++ src/distrib/evbarm/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:40 salo Exp $
+# $NetBSD: dot.profile,v 1.2.102.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/evbmips/instkernel/ramdisk/dot.profile
diff -u src/distrib/evbmips/instkernel/ramdisk/dot.profile:1.1 src/distrib/evbmips/instkernel/ramdisk/dot.profile:1.1.90.1
--- src/distrib/evbmips/instkernel/ramdisk/dot.profile:1.1	Thu Mar 30 15:45:42 2006
+++ src/distrib/evbmips/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2006/03/30 15:45:42 shige Exp $
+# $NetBSD: dot.profile,v 1.1.90.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/evbppc/ramdisk/dot.profile
diff -u src/distrib/evbppc/ramdisk/dot.profile:1.4 src/distrib/evbppc/ramdisk/dot.profile:1.4.36.1
--- src/distrib/evbppc/ramdisk/dot.profile:1.4	Fri Jul 20 11:19:51 2012
+++ src/distrib/evbppc/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2012/07/20 11:19:51 matt Exp $
+# $NetBSD: dot.profile,v 1.4.36.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/evbsh3/instkernel/ramdisk/dot.profile
diff -u src/distrib/evbsh3/instkernel/ramdisk/dot.profile:1.1 src/distrib/evbsh3/instkernel/ramdisk/dot.profile:1.1.50.1
--- src/distrib/evbsh3/instkernel/ramdisk/dot.profile:1.1	Tue Apr  6 15:54:31 2010
+++ src/distrib/evbsh3/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2010/04/06 15:54:31 nonaka Exp $
+# $NetBSD: dot.profile,v 1.1.50.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/ews4800mips/floppies/ramdisk/dot.profile
diff -u src/distrib/ews4800mips/floppies/ramdisk/dot.profile:1.1 src/distrib/ews4800mips/floppies/ramdisk/dot.profile:1.1.90.1
--- src/distrib/ews4800mips/floppies/ramdisk/dot.profile:1.1	Thu Dec 29 16:01:31 2005
+++ src/distrib/ews4800mips/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.1 2005/12/29 16:01:31 tsutsui Exp $
+#	$NetBSD: dot.profile,v 1.1.90.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -63,7 +63,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/hp300/ramdisk/dot.profile
diff -u src/distrib/hp300/ramdisk/dot.profile:1.6 src/distrib/hp300/ramdisk/dot.profile:1.6.48.1
--- src/distrib/hp300/ramdisk/dot.profile:1.6	Sun Feb  6 18:26:51 2011
+++ src/distrib/hp300/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.6 2011/02/06 18:26:51 tsutsui Exp $
+#	$NetBSD: dot.profile,v 1.6.48.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -80,7 +80,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/hpcarm/miniroot/dot.profile
diff -u src/distrib/hpcarm/miniroot/dot.profile:1.2 src/distrib/hpcarm/miniroot/dot.profile:1.2.50.1
--- src/distrib/hpcarm/miniroot/dot.profile:1.2	Sat May  1 12:14:11 2010
+++ src/distrib/hpcarm/miniroot/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2010/05/01 12:14:11 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.2.50.1 2020/01/28 10:20:23 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,5 +66,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/hpcmips/miniroot/dot.profile
diff -u src/distrib/hpcmips/miniroot/dot.profile:1.7 src/distrib/hpcmips/miniroot/dot.profile:1.7.50.1
--- src/distrib/hpcmips/miniroot/dot.profile:1.7	Sat May  1 12:14:12 2010
+++ src/distrib/hpcmips/miniroot/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.7 2010/05/01 12:14:12 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.7.50.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,5 +66,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/hpcsh/miniroot/dot.profile
diff -u src/distrib/hpcsh/miniroot/dot.profile:1.4 src/distrib/hpcsh/miniroot/dot.profile:1.4.50.1
--- src/distrib/hpcsh/miniroot/dot.profile:1.4	Mon May  3 14:14:35 2010
+++ src/distrib/hpcsh/miniroot/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2010/05/03 14:14:35 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.4.50.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,5 +66,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/hppa/ramdisk/dot.profile
diff -u src/distrib/hppa/ramdisk/dot.profile:1.1 src/distrib/hppa/ramdisk/dot.profile:1.1.32.1
--- src/distrib/hppa/ramdisk/dot.profile:1.1	Mon Feb 24 07:23:38 2014
+++ src/distrib/hppa/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2014/02/24 07:23:38 skrll Exp $
+# $NetBSD: dot.profile,v 1.1.32.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	# run the installation or upgrade script.
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/i386/ramdisks/common/dot.profile
diff -u src/distrib/i386/ramdisks/common/dot.profile:1.6 src/distrib/i386/ramdisks/common/dot.profile:1.6.48.1
--- src/distrib/i386/ramdisks/common/dot.profile:1.6	Sun Feb 13 03:58:38 2011
+++ src/distrib/i386/ramdisks/common/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.6 2011/02/13 03:58:38 jym Exp $
+#	$NetBSD: dot.profile,v 1.6.48.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/landisk/ramdisk/dot.profile
diff -u src/distrib/landisk/ramdisk/dot.profile:1.2 src/distrib/landisk/ramdisk/dot.profile:1.2.50.1
--- src/distrib/landisk/ramdisk/dot.profile:1.2	Tue Dec 22 11:15:52 2009
+++ src/distrib/landisk/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -59,5 +59,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -u $ROOTDEV /
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/luna68k/ramdisk/dot.profile
diff -u src/distrib/luna68k/ramdisk/dot.profile:1.1 src/distrib/luna68k/ramdisk/dot.profile:1.1.46.1
--- src/distrib/luna68k/ramdisk/dot.profile:1.1	Sat Jul 16 15:52:21 2011
+++ src/distrib/luna68k/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2011/07/16 15:52:21 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.1.46.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/mac68k/instkernel/ramdisk/dot.profile
diff -u src/distrib/mac68k/instkernel/ramdisk/dot.profile:1.8 src/distrib/mac68k/instkernel/ramdisk/dot.profile:1.8.102.1
--- src/distrib/mac68k/instkernel/ramdisk/dot.profile:1.8	Sat Jul 26 17:06:46 2003
+++ src/distrib/mac68k/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.8 2003/07/26 17:06:46 salo Exp $
+# $NetBSD: dot.profile,v 1.8.102.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -63,5 +63,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/macppc/floppies/ramdisk/dot.profile
diff -u src/distrib/macppc/floppies/ramdisk/dot.profile:1.13 src/distrib/macppc/floppies/ramdisk/dot.profile:1.13.102.1
--- src/distrib/macppc/floppies/ramdisk/dot.profile:1.13	Sat Jul 26 17:06:48 2003
+++ src/distrib/macppc/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.13 2003/07/26 17:06:48 salo Exp $
+# $NetBSD: dot.profile,v 1.13.102.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/mipsco/ramdisk/dot.profile
diff -u src/distrib/mipsco/ramdisk/dot.profile:1.2 src/distrib/mipsco/ramdisk/dot.profile:1.2.102.1
--- src/distrib/mipsco/ramdisk/dot.profile:1.2	Sat Jul 26 17:06:49 2003
+++ src/distrib/mipsco/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:49 salo Exp $
+# $NetBSD: dot.profile,v 1.2.102.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -63,5 +63,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/mvme68k/miniroot/dot.profile
diff -u src/distrib/mvme68k/miniroot/dot.profile:1.8 src/distrib/mvme68k/miniroot/dot.profile:1.8.102.1
--- src/distrib/mvme68k/miniroot/dot.profile:1.8	Sat Jul 26 17:06:50 2003
+++ src/distrib/mvme68k/miniroot/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.8 2003/07/26 17:06:50 salo Exp $
+# $NetBSD: dot.profile,v 1.8.102.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -82,7 +82,7 @@ EOF
 			i*|I*|u*|U*)
 				# setup a writable /tmp directory
 				mount_mfs swap /tmp || continue
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			oi*|OI*)

Index: src/distrib/news68k/floppies/ramdisk/dot.profile
diff -u src/distrib/news68k/floppies/ramdisk/dot.profile:1.7 src/distrib/news68k/floppies/ramdisk/dot.profile:1.7.102.1
--- src/distrib/news68k/floppies/ramdisk/dot.profile:1.7	Sat Jul 26 17:06:51 2003
+++ src/distrib/news68k/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.7 2003/07/26 17:06:51 salo Exp $
+# $NetBSD: dot.profile,v 1.7.102.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/newsmips/floppies/ramdisk/dot.profile
diff -u src/distrib/newsmips/floppies/ramdisk/dot.profile:1.6 src/distrib/newsmips/floppies/ramdisk/dot.profile:1.6.102.1
--- src/distrib/newsmips/floppies/ramdisk/dot.profile:1.6	Sat Jul 26 17:06:51 2003
+++ src/distrib/newsmips/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.6 2003/07/26 17:06:51 salo Exp $
+# $NetBSD: dot.profile,v 1.6.102.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/ofppc/ramdisks/common/dot.profile
diff -u src/distrib/ofppc/ramdisks/common/dot.profile:1.1 src/distrib/ofppc/ramdisks/common/dot.profile:1.1.76.1
--- src/distrib/ofppc/ramdisks/common/dot.profile:1.1	Wed Jan  2 11:39:02 2008
+++ src/distrib/ofppc/ramdisks/common/dot.profile	Tue Jan 28 10:20:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.1 2008/01/02 11:39:02 mrg Exp $
+#	$NetBSD: dot.profile,v 1.1.76.1 2020/01/28 10:20:26 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,7 +66,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/playstation2/miniroot/dot.profile
diff -u src/distrib/playstation2/miniroot/dot.profile:1.4 src/distrib/playstation2/miniroot/dot.profile:1.4.30.1
--- src/distrib/playstation2/miniroot/dot.profile:1.4	Mon Mar 31 11:25:48 2014
+++ src/distrib/playstation2/miniroot/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2014/03/31 11:25:48 martin Exp $
+# $NetBSD: dot.profile,v 1.4.30.1 2020/01/28 10:20:23 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -70,5 +70,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/pmax/miniroot/dot.profile
diff -u src/distrib/pmax/miniroot/dot.profile:1.2 src/distrib/pmax/miniroot/dot.profile:1.2.90.1
--- src/distrib/pmax/miniroot/dot.profile:1.2	Sat Jul 29 19:10:56 2006
+++ src/distrib/pmax/miniroot/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.2 2006/07/29 19:10:56 ad Exp $
+#	$NetBSD: dot.profile,v 1.2.90.1 2020/01/28 10:20:25 msaitoh Exp $
 PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
 export PATH
 
@@ -16,4 +16,4 @@ export PATH
 		fi
 	done
 
-	sysinst
+	sysinst || stty sane

Index: src/distrib/pmax/ramdisk/dot.profile
diff -u src/distrib/pmax/ramdisk/dot.profile:1.10 src/distrib/pmax/ramdisk/dot.profile:1.10.90.1
--- src/distrib/pmax/ramdisk/dot.profile:1.10	Sat Jul 29 19:10:56 2006
+++ src/distrib/pmax/ramdisk/dot.profile	Tue Jan 28 10:20:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.10 2006/07/29 19:10:56 ad Exp $
+# $NetBSD: dot.profile,v 1.10.90.1 2020/01/28 10:20:28 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -63,5 +63,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/prep/floppies/ramdisk/dot.profile
diff -u src/distrib/prep/floppies/ramdisk/dot.profile:1.2 src/distrib/prep/floppies/ramdisk/dot.profile:1.2.102.1
--- src/distrib/prep/floppies/ramdisk/dot.profile:1.2	Sat Jul 26 17:07:28 2003
+++ src/distrib/prep/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:07:28 salo Exp $
+# $NetBSD: dot.profile,v 1.2.102.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/riscv/ramdisk/dot.profile
diff -u src/distrib/riscv/ramdisk/dot.profile:1.1 src/distrib/riscv/ramdisk/dot.profile:1.1.18.1
--- src/distrib/riscv/ramdisk/dot.profile:1.1	Sat Mar 28 12:54:06 2015
+++ src/distrib/riscv/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2015/03/28 12:54:06 matt Exp $
+# $NetBSD: dot.profile,v 1.1.18.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -61,6 +61,6 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 
 	# run the installation or upgrade script.
 	if [ -f sysinst ]; then
-		sysinst
+		sysinst || stty sane
 	fi
 fi

Index: src/distrib/rs6000/ramdisk/dot.profile
diff -u src/distrib/rs6000/ramdisk/dot.profile:1.1 src/distrib/rs6000/ramdisk/dot.profile:1.1.52.1
--- src/distrib/rs6000/ramdisk/dot.profile:1.1	Thu Apr 30 12:47:39 2009
+++ src/distrib/rs6000/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.1.52.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	# run the installation or upgrade script.
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Index: src/distrib/sandpoint/ramdisk/dot.profile
diff -u src/distrib/sandpoint/ramdisk/dot.profile:1.1 src/distrib/sandpoint/ramdisk/dot.profile:1.1.78.1
--- src/distrib/sandpoint/ramdisk/dot.profile:1.1	Thu Oct 25 14:20:55 2007
+++ src/distrib/sandpoint/ramdisk/dot.profile	Tue Jan 28 10:20:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2007/10/25 14:20:55 nisimura Exp $
+# $NetBSD: dot.profile,v 1.1.78.1 2020/01/28 10:20:24 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		read _forceloop
 		case "$_forceloop" in
 			i*|I*)
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			s*|S*)

Index: src/distrib/sgimips/miniroot/dot.profile
diff -u src/distrib/sgimips/miniroot/dot.profile:1.1 src/distrib/sgimips/miniroot/dot.profile:1.1.104.1
--- src/distrib/sgimips/miniroot/dot.profile:1.1	Tue May 21 20:51:34 2002
+++ src/distrib/sgimips/miniroot/dot.profile	Tue Jan 28 10:20:27 2020
@@ -16,4 +16,4 @@ export PATH
 		fi
 	done
 
-	sysinst
+	sysinst || stty sane

Index: src/distrib/sgimips/ramdisk/dot.profile
diff -u src/distrib/sgimips/ramdisk/dot.profile:1.3 src/distrib/sgimips/ramdisk/dot.profile:1.3.102.1
--- src/distrib/sgimips/ramdisk/dot.profile:1.3	Sat Jul 26 17:07:31 2003
+++ src/distrib/sgimips/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -62,5 +62,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation program
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/shark/instkernel/ramdisk/dot.profile
diff -u src/distrib/shark/instkernel/ramdisk/dot.profile:1.4 src/distrib/shark/instkernel/ramdisk/dot.profile:1.4.80.1
--- src/distrib/shark/instkernel/ramdisk/dot.profile:1.4	Tue Jul 31 19:51:58 2007
+++ src/distrib/shark/instkernel/ramdisk/dot.profile	Tue Jan 28 10:20:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2007/07/31 19:51:58 jmmv Exp $
+# $NetBSD: dot.profile,v 1.4.80.1 2020/01/28 10:20:27 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -90,5 +90,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	mount -t kernfs /kern /kern
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/sparc/miniroot/dot.profile
diff -u src/distrib/sparc/miniroot/dot.profile:1.15 src/distrib/sparc/miniroot/dot.profile:1.15.50.1
--- src/distrib/sparc/miniroot/dot.profile:1.15	Sat Sep 25 14:30:34 2010
+++ src/distrib/sparc/miniroot/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.15 2010/09/25 14:30:34 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.15.50.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -77,7 +77,7 @@ EOF
 			i*|I*|u*|U*)
 				# setup a writable /tmp directory
 				mount_mfs -s 1m swap /tmp || continue
-				/sysinst
+				/sysinst || stty sane
 				;;
 
 			oi*|OI*)

Index: src/distrib/sparc64/instfs/dot.profile
diff -u src/distrib/sparc64/instfs/dot.profile:1.7 src/distrib/sparc64/instfs/dot.profile:1.7.36.1
--- src/distrib/sparc64/instfs/dot.profile:1.7	Sun Jun  3 21:42:45 2012
+++ src/distrib/sparc64/instfs/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.7 2012/06/03 21:42:45 joerg Exp $
+# $NetBSD: dot.profile,v 1.7.36.1 2020/01/28 10:20:23 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -98,7 +98,7 @@ EOM
 	mount -t ffs -u /kern/rootdev /
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 	if [ $? = 4 ]; then
 		echo "Oops, something went wrong - we will try again"
 		exit

Index: src/distrib/vax/ramdisk/dot.profile
diff -u src/distrib/vax/ramdisk/dot.profile:1.9 src/distrib/vax/ramdisk/dot.profile:1.9.36.1
--- src/distrib/vax/ramdisk/dot.profile:1.9	Tue Jul  3 21:49:56 2012
+++ src/distrib/vax/ramdisk/dot.profile	Tue Jan 28 10:20:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.9 2012/07/03 21:49:56 abs Exp $
+# $NetBSD: dot.profile,v 1.9.36.1 2020/01/28 10:20:25 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,5 +66,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.
-	sysinst
+	sysinst || stty sane
 fi

Index: src/distrib/x68k/floppies/ramdisk/dot.profile
diff -u src/distrib/x68k/floppies/ramdisk/dot.profile:1.15 src/distrib/x68k/floppies/ramdisk/dot.profile:1.15.50.1
--- src/distrib/x68k/floppies/ramdisk/dot.profile:1.15	Sat May 15 06:36:12 2010
+++ src/distrib/x68k/floppies/ramdisk/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.15 2010/05/15 06:36:12 isaki Exp $
+# $NetBSD: dot.profile,v 1.15.50.1 2020/01/28 10:20:23 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,6 +71,6 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		echo "Could not determine root device."
 	else
 		# run sysinst.
-		sysinst
+		sysinst || stty sane
 	fi
 fi

Index: src/distrib/zaurus/ramdisk/dot.profile
diff -u src/distrib/zaurus/ramdisk/dot.profile:1.3 src/distrib/zaurus/ramdisk/dot.profile:1.3.48.1
--- src/distrib/zaurus/ramdisk/dot.profile:1.3	Fri May  6 18:32:59 2011
+++ src/distrib/zaurus/ramdisk/dot.profile	Tue Jan 28 10:20:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.3 2011/05/06 18:32:59 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.3.48.1 2020/01/28 10:20:23 msaitoh Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 	# run the installation or upgrade script.
 	if [ -x /sysinst ]; then
 		# run the installation or upgrade script.
-		sysinst
+		sysinst || stty sane
 	else
 		echo "This image contains utilities which may be needed"
 		echo "to get you out of a pinch."

Reply via email to