From 1cdab3d4322ddec91b8522cf4ff658761b417ee6 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 17 Nov 1994 14:18:02 +0000 Subject: [PATCH] Add extra scripts to the Makefile. Add another mirror site to instdist.sh --- release/Makefile | 7 +++++-- release/instdist.sh | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/release/Makefile b/release/Makefile index 2668eef354bb..14ba0c3c0bdf 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.45 1994/11/17 07:09:21 jkh Exp $ +# $Id: Makefile,v 1.46 1994/11/17 07:11:30 jkh Exp $ # # Evil floppies are, of course, 1.2MB floppies. @@ -27,7 +27,10 @@ CPIO1+= ftp rsh sed telnet rlogin grep CPIO2= etc/services etc/protocols -CPIO3= bininst +# bininst MUST be the last file on the cpio floppy. It's used to detect +# a successful extraction. +CPIO3= miscfuncs.sh instdist.sh netinst.sh bininst + # Somewhat on the rough side... CLEANFILES+= *.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz CLEANFILES+= boot_flp boot.flp cpio_flp_1 diff --git a/release/instdist.sh b/release/instdist.sh index 2172a30d75c7..b6a056dc8e9f 100644 --- a/release/instdist.sh +++ b/release/instdist.sh @@ -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.1 1994/11/16 07:51:42 jkh Exp $ +# $Id: instdist.sh,v 1.2 1994/11/17 11:53:13 jkh Exp $ if [ "$_INSTINST_SH_LOADED_" = "yes" ]; then return 0 @@ -42,6 +42,7 @@ media_set_defaults() { tmp_dir="/usr/tmp" ftp_path="ftp://ftp.freebsd.org/pub/FreeBSD/2.0-ALPHA" nfs_path="" + nfs_options="" serial_interface="/dev/tty00" serial_speed="38400" } @@ -100,9 +101,10 @@ in order to more evenly distribute network load and increase \n\ its availability users who might be far from the main ftp sites \n\ or unable to get a connection. Please select the site closest \n\ to you or select \"other\" if you'd like to specify your own \n\ -choice.\n\n" 20 76 4 \ +choice.\n\n" 20 76 7 \ "Please select one of the following:" 20 76 6 \ "ftp://ftp.freebsd.org/pub/FreeBSD/${DISTNAME}" "Primary U.S. ftp site" \ + "ftp://ftp.dataplex.net/pub/FreeBSD/${DISTNAME}" "United States" \ "ftp://netbsd.csie.nctu.edu.tw/pub/FreeBSD/${DISTNAME}" "Taiwan" \ "ftp://ftp.physics.usyd.edu.au/FreeBSD/${DISTNAME}" "Australia" \ "ftp://ftp.ibp.fr/pub/freeBSD/${DISTNAME}" "France" \ @@ -395,9 +397,18 @@ distribution you wish to load. This must be in machine:dir format (e.g. zooey:/a/FreeBSD/${DISTNAME}). The remote directory *must* be be exported to your machine (or globally) for this to work!\n\n"; then continue; fi + default_value="" + if input \ +"Do you wish to specify any options to NFS? If you're installing +from a Sun 4.1.x system, you may wish to specify resvport to allow +installation over a priviledged port. When using a slow ethernet +card or network link, rsize=4096,wsize=4096 may also prove helpful. +Options, if any, should be separated by commas."; then + nfs_options="-o $answer" + fi media_type=nfs nfs_path=$answer - if ! mount_nfs $nfs_path ${MNT} > /dev/ttyv1 2>&1; then + if ! mount_nfs $nfs_options $nfs_path ${MNT} > /dev/ttyv1 2>&1; then error "Unable to mount $nfs_path" else message "$nfs_path mounted successfully"