PR install/54780: in the (of course totally unlikely) case that sysinst

should crash, run "stty sane".
This commit is contained in:
martin 2020-01-09 19:17:40 +00:00
parent a6cd3ae8c8
commit a879768d74
46 changed files with 89 additions and 89 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.3 2003/07/26 17:06:25 salo Exp $
# $NetBSD: dot.profile,v 1.4 2020/01/09 19:17:40 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.10 2009/03/29 10:12:31 tsutsui Exp $
# $NetBSD: dot.profile,v 1.11 2020/01/09 19:17:40 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.3 2011/02/13 03:58:38 jym Exp $
# $NetBSD: dot.profile,v 1.4 2020/01/09 19:17:41 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2008/11/20 13:43:28 tsutsui Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:40 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.7 2017/11/25 09:40:17 tsutsui Exp $
# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:41 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2010/10/17 11:05:18 kiyohara Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2008/02/01 17:18:07 tsutsui Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:41 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2008/02/02 14:06:48 tsutsui Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:39 salo Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin 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
;;

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2011/01/26 01:18:44 pooka Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin Exp $
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
@ -17,4 +17,4 @@ export PATH
fi
done
sysinst
sysinst || stty sane

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2011/06/19 02:40:38 tsutsui Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:40 salo Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2006/03/30 15:45:42 shige Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2012/07/20 11:19:51 matt Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:42 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2010/04/06 15:54:31 nonaka Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2005/12/29 16:01:31 tsutsui Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.6 2011/02/06 18:26:51 tsutsui Exp $
# $NetBSD: dot.profile,v 1.7 2020/01/09 19:17:42 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2010/05/01 12:14:11 tsutsui Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:42 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.7 2010/05/01 12:14:12 tsutsui Exp $
# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:42 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2010/05/03 14:14:35 tsutsui Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:42 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2014/02/24 07:23:38 skrll Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.6 2011/02/13 03:58:38 jym Exp $
# $NetBSD: dot.profile,v 1.7 2020/01/09 19:17:43 martin 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."

View File

@ -59,5 +59,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
mount -u $ROOTDEV /
# run the installation program
sysinst
sysinst || stty sane
fi

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2011/07/16 15:52:21 tsutsui Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:43 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.8 2003/07/26 17:06:46 salo Exp $
# $NetBSD: dot.profile,v 1.9 2020/01/09 19:17:43 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.13 2003/07/26 17:06:48 salo Exp $
# $NetBSD: dot.profile,v 1.14 2020/01/09 19:17:43 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:49 salo Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:43 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.8 2003/07/26 17:06:50 salo Exp $
# $NetBSD: dot.profile,v 1.9 2020/01/09 19:17:43 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.7 2003/07/26 17:06:51 salo Exp $
# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:43 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.6 2003/07/26 17:06:51 salo Exp $
# $NetBSD: dot.profile,v 1.7 2020/01/09 19:17:43 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2008/01/02 11:39:02 mrg Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:44 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2014/03/31 11:25:48 martin Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:44 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2006/07/29 19:10:56 ad Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:44 martin Exp $
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
@ -16,4 +16,4 @@ export PATH
fi
done
sysinst
sysinst || stty sane

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.10 2006/07/29 19:10:56 ad Exp $
# $NetBSD: dot.profile,v 1.11 2020/01/09 19:17:44 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.2 2003/07/26 17:07:28 salo Exp $
# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:44 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2015/03/28 12:54:06 matt Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:44 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2009/04/30 12:47:39 tsutsui Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:44 martin 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."

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2007/10/25 14:20:55 nisimura Exp $
# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:44 martin 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*)

View File

@ -16,4 +16,4 @@ export PATH
fi
done
sysinst
sysinst || stty sane

View File

@ -62,5 +62,5 @@ if [ "X${DONEPROFILE}" = "X" ]; then
mount -t kernfs /kern /kern
# run the installation program
sysinst
sysinst || stty sane
fi

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.4 2007/07/31 19:51:58 jmmv Exp $
# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:45 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.15 2010/09/25 14:30:34 tsutsui Exp $
# $NetBSD: dot.profile,v 1.16 2020/01/09 19:17:45 martin 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*)

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.7 2012/06/03 21:42:45 joerg Exp $
# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:45 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.9 2012/07/03 21:49:56 abs Exp $
# $NetBSD: dot.profile,v 1.10 2020/01/09 19:17:40 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.15 2010/05/15 06:36:12 isaki Exp $
# $NetBSD: dot.profile,v 1.16 2020/01/09 19:17:46 martin 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

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.3 2011/05/06 18:32:59 tsutsui Exp $
# $NetBSD: dot.profile,v 1.4 2020/01/09 19:17:46 martin 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."