diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-05-05 00:28:46 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-05-05 00:28:46 +0000 |
commit | 01657378f5ede9431900d775ce637220c43e5d0b (patch) | |
tree | b24c6da2fc954849ecf9a7c850019b90cd00bc45 | |
parent | 3c10c9e4611177d958191b510e027f1e430c6640 (diff) |
When doing FTP installs, allow the user to get a list of FTP servers
-rw-r--r-- | distrib/miniroot/install.sub | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 436e4e30016..ed0eab3f3ec 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sub,v 1.14 1997/05/04 05:08:00 tholo Exp $ +# $OpenBSD: install.sub,v 1.15 1997/05/05 00:28:45 tholo Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -549,6 +549,17 @@ several questions. The correct set of commands will be placed in a script that will be fed to ftp(1). __install_ftp_1 + + # Provide a list of possible FTP servers + echo -n "Do you want a list of potential FTP servers? [y] " + getresp "y" + case "$resp" in + n*|N*) ;; + *) + ftp -V -a ftp://cvs.openbsd.org/pub/OpenBSD/`echo ${VERSION} | sed 's/\(.\)\(.\)/\1.\2/'`/ftplist | cat + ;; + esac + # Get server IP address resp="" # force one iteration while [ "X${resp}" = X"" ]; do |