aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 03:48:58 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 03:48:58 +0000
commitea6351cbc743e07529faf6ec1ab338ca5d9d8788 (patch)
tree93a2028461024f150943d50c778bcc7a55bcf1b2
parent295acba8ba54a8de8ae90eb2ea5fbb11119d9538 (diff)
downloadsrc-ea6351cbc743e07529faf6ec1ab338ca5d9d8788.tar.gz
src-ea6351cbc743e07529faf6ec1ab338ca5d9d8788.zip
Actually allow the poor user to get out of the script.
Notes
Notes: svn path=/head/; revision=4256
-rwxr-xr-xrelease/bininst7
1 files changed, 4 insertions, 3 deletions
diff --git a/release/bininst b/release/bininst
index 141f7035669c..f739b278b292 100755
--- a/release/bininst
+++ b/release/bininst
@@ -57,7 +57,7 @@ handle_rval() {
# A simple user-confirmation dialog.
confirm() {
- dialog --title "Please Confirm" --msgbox "$*" 10 72
+ dialog --title "Please Confirm" --msgbox "$*" 4 72
}
# A simple error dialog.
@@ -312,7 +312,7 @@ setup_network()
if handle_rval $?; then
ifconfig_flags=`cat ${TMP}/inputbox.tmp.$$`
fi
- if ! $IFCONFIG inet $interface netmask $netmask $ifconfig_flags ; then
+ if ! $IFCONFIG inet $interface netmask $netmask $ifconfig_flags 2>/dev/ttyv1 ; then
error "Unable to configure interface $interface"
ipaddr=""; interface=""
continue
@@ -327,7 +327,7 @@ setup_network()
if [ "$gateway" = "" ]; then
:;
else
- $ROUTE $route_flags $gateway
+ $ROUTE $route_flags $gateway 2>/dev/ttyv1
fi
fi
rm -f ${TMP}/inputbox.tmp.$$
@@ -406,3 +406,4 @@ while [ $installing -eq 1 ]; do
installing=0
fi
done
+exec /stand/sh