Actually allow the poor user to get out of the script.

This commit is contained in:
Jordan K. Hubbard 1994-11-08 03:48:58 +00:00
parent 295acba8ba
commit ea6351cbc7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4256

View File

@ -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