summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-19 23:02:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-19 23:02:50 +0000
commitb5dfc48ff2667501340a8f81ce8ab158b6a59771 (patch)
treebc4f4ed1515bfc71807d9cd87f150cb039a13116
parent1d924a8458dba72e68a426e443e180b226004235 (diff)
use new ftp -m mode for status bar
-rw-r--r--distrib/miniroot/install.sub9
1 files changed, 5 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 8ffa10f1437..2f58e46ff8e 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.91 1998/09/19 23:02:16 deraadt Exp $
+# $OpenBSD: install.sub,v 1.92 1998/09/19 23:02:49 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -1078,12 +1078,13 @@ esac
# Download the files one at a time and keep track of which ones failed
while test -n "${_get_files}" ; do
_failed_files=""
+ echo ""
for _f in $_get_files ; do
- echo ""
+ echo "Getting ${_f} ..."
if [ "X${_f}" = "X${_kernel}" ]; then
- ( cd /mnt ; ftp ${_ftp_active} -V ${_url_base}/${_f} )
+ ( cd /mnt ; ftp ${_ftp_active} -V -m ${_url_base}/${_f} )
else
- ( cd /mnt ; ftp ${_ftp_active} -o - -V ${_url_base}/${_f} | tar zxvpf - )
+ ( cd /mnt ; ftp ${_ftp_active} -o - -V -m ${_url_base}/${_f} | tar zxpf - )
fi
if [ $? -ne 0 ]; then
# Mark xfer as having failed,.