Some fields overflowed. Fix 'em up.

This commit is contained in:
Jordan K. Hubbard 1994-11-18 19:09:33 +00:00
parent 8c1294dcf2
commit 918254f37d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4649
2 changed files with 11 additions and 9 deletions

View file

@ -10,7 +10,7 @@
# putting your name on top after doing something trivial like reindenting
# it, just to make it look like you wrote it!).
#
# $Id: instdist.sh,v 1.12 1994/11/18 16:48:57 jkh Exp $
# $Id: instdist.sh,v 1.13 1994/11/18 17:36:11 jkh Exp $
if [ "$_INSTINST_SH_LOADED_" = "yes" ]; then
return 0
@ -41,7 +41,7 @@ media_set_defaults()
ifconfig_flags=""
remote_hostip=""
tmp_dir="/usr/tmp"
ftp_path="ftp://ftp.freebsd.org/pub/FreeBSD/${DISTNAME}"
ftp_path=""
nfs_path=""
nfs_options=""
serial_interface="/dev/tty00"
@ -106,8 +106,8 @@ choice. Also note that not all sites carry the optional package \n\
or XFree86 3.1 distributions! These are only guaranteed to be \n\
available from the primary U.S. ftp site.\n\n" -1 -1 8 \
"Primary" "ftp://ftp.freebsd.org/pub/FreeBSD/${DISTNAME}" \
"U.S#1" "ftp://ftp.dataplex.net/pub/FreeBSD/${DISTNAME}" \
"U.S#2" "ftp://kryten.atinc.com/pub/FreeBSD/${DISTNAME}" \
"#2-U.S" "ftp://ftp.dataplex.net/pub/FreeBSD/${DISTNAME}" \
"#3-U.S" "ftp://kryten.atinc.com/pub/FreeBSD/${DISTNAME}" \
"Taiwan" "ftp://netbsd.csie.nctu.edu.tw/pub/FreeBSD/${DISTNAME}" \
"Australia" "ftp://ftp.physics.usyd.edu.au/FreeBSD/${DISTNAME}" \
"France" "ftp://ftp.ibp.fr/pub/freeBSD/${DISTNAME}" \
@ -123,11 +123,11 @@ available from the primary U.S. ftp site.\n\n" -1 -1 8 \
ftp_path="ftp://ftp.freebsd.org/pub/FreeBSD/${DISTNAME}"
;;
U.S#1)
#2-U.S)
ftp_path="ftp://ftp.dataplex.net/pub/FreeBSD/${DISTNAME}"
;;
U.S#2)
#3-U.S)
ftp_path="ftp://kryten.atinc.com/pub/FreeBSD/${DISTNAME}"
;;
@ -233,7 +233,7 @@ media_install_set()
if ! media_set_tmpdir; then return; fi
if ! media_cd_tmpdir; then return; fi
if ! echo $media_device | grep -q -v 'ftp://'; then
message "Fetching distribution using ncftp. Use ALT-F2 to see output, ALT-F1 to return."
message "Fetching distribution using ncftp.\nUse ALT-F2 to see output, ALT-F1 to return."
if ! ncftp $media_device/${media_distribution}/* < /dev/null > /dev/ttyv1 2>&1; then
error "Couldn't fetch ${media_distribution} distribution from ${media_device}!"
else

View file

@ -10,7 +10,7 @@
# putting your name on top after doing something trivial like reindenting
# it, just to make it look like you wrote it!).
#
# $Id: netinst.sh,v 1.5 1994/11/18 11:01:33 jkh Exp $
# $Id: netinst.sh,v 1.6 1994/11/18 16:27:54 jkh Exp $
if [ "$_NETINST_SH_LOADED_" = "yes" ]; then
return 0
@ -69,7 +69,9 @@ network_setup_slip()
chmod 666 /var/log/aculog > /dev/null 2>&1
confirm "You may now dialog with your modem and set up the slip connection.\nBe sure to disable DTR sensitivity (usually with AT&D0) or the modem may\nhang up when you exit 'cu'. Use ~. to exit cu and continue."
dialog --clear
cu -l $serial_interface -s $serial_speed
# Grottyness to deal with a weird crunch bug.
if [ ! -f /stand/cu ]; then ln /stand/tip /stand/cu; fi
/stand/cu -l $serial_interface -s $serial_speed
dialog --clear
fi
}