summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/evbarm/installimage/install.sh8
-rw-r--r--distrib/sparc64/cdroms/installcd/install.sh6
-rw-r--r--distrib/vax/cdroms/installcd/install.sh6
3 files changed, 10 insertions, 10 deletions
diff --git a/distrib/evbarm/installimage/install.sh b/distrib/evbarm/installimage/install.sh
index 0fd48d786d8..612ccdb12d4 100644
--- a/distrib/evbarm/installimage/install.sh
+++ b/distrib/evbarm/installimage/install.sh
@@ -1,5 +1,5 @@
#! /bin/sh -m
-# $NetBSD: install.sh,v 1.1 2020/05/28 15:23:43 jmcneill Exp $
+# $NetBSD: install.sh,v 1.2 2023/02/12 19:27:20 abs Exp $
#
# -
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -87,7 +87,7 @@ fi
# run the installation or upgrade script.
cd /
-cmd=./sysinst
+cmd=/usr/sbin/sysinst
while [ -n "${cmd}" ]
do
@@ -100,7 +100,7 @@ do
tput clear
echo "You have stopped sysinst, return to it by" \
"typing 'exit' or ^D."
- ${SHELL} -i
+ ${SHELL} -i -E
cmd="fg"
else
cmd=""
@@ -112,4 +112,4 @@ done
echo "TERM=${TERM}" > ${termfile}
echo
echo "To return to the installer, quit this shell by typing 'exit' or ^D."
-exec ${SHELL}
+exec ${SHELL} -E
diff --git a/distrib/sparc64/cdroms/installcd/install.sh b/distrib/sparc64/cdroms/installcd/install.sh
index e805ae30e30..38c608e7ace 100644
--- a/distrib/sparc64/cdroms/installcd/install.sh
+++ b/distrib/sparc64/cdroms/installcd/install.sh
@@ -1,5 +1,5 @@
#! /bin/sh -m
-# $NetBSD: install.sh,v 1.4 2015/05/28 09:51:31 martin Exp $
+# $NetBSD: install.sh,v 1.5 2023/02/12 19:27:20 abs Exp $
#
# -
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@ do
tput clear
echo "You have stopped sysinst, return to it by" \
"typing 'exit' or ^D."
- ${SHELL} -i
+ ${SHELL} -i -E
cmd="fg"
else
cmd=""
@@ -112,4 +112,4 @@ done
echo "TERM=${TERM}" > ${termfile}
echo
echo "To return to the installer, quit this shell by typing 'exit' or ^D."
-exec ${SHELL}
+exec ${SHELL} -E
diff --git a/distrib/vax/cdroms/installcd/install.sh b/distrib/vax/cdroms/installcd/install.sh
index fb4a6288a1d..770d5dc4d37 100644
--- a/distrib/vax/cdroms/installcd/install.sh
+++ b/distrib/vax/cdroms/installcd/install.sh
@@ -1,5 +1,5 @@
#! /bin/sh -m
-# $NetBSD: install.sh,v 1.2 2015/05/28 09:51:31 martin Exp $
+# $NetBSD: install.sh,v 1.3 2023/02/12 19:27:20 abs Exp $
#
# -
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@ do
tput clear
echo "You have stopped sysinst, return to it by" \
"typing 'exit' or ^D."
- ${SHELL} -i
+ ${SHELL} -i -E
cmd="fg"
else
cmd=""
@@ -112,4 +112,4 @@ done
echo "TERM=${TERM}" > ${termfile}
echo
echo "To return to the installer, quit this shell by typing 'exit' or ^D."
-exec ${SHELL}
+exec ${SHELL} -E