summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-29 20:34:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-29 20:34:03 +0000
commit819fd47df0d3053e2b406bd18b7d465a9cd91cc4 (patch)
tree62ebc1a9bb276b03b9af75ae6c106670146f88e9 /distrib
parent4cdaf3ea4cba46594bb509853c68f0dd0819615f (diff)
Select base*, etc* and bsd by default in the file selector.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub24
1 files changed, 23 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index da430117d35..ac42c9583fb 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.66 1998/03/29 19:54:50 millert Exp $
+# $OpenBSD: install.sub,v 1.67 1998/03/29 20:34:02 millert 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
@@ -903,6 +903,17 @@ eval echo "\\\\n"\
"You will want at least the base and bsd sets.\\\\n"\
"Consult the intallation notes if you are not sure which sets are required!\\\\n"
_osetsdone="$_setsdone"
+# Set a minimal default
+for _f in $_sets $_kernel; do
+ case "$_f" in
+ base*.tar.gz|base*.tgz|etc*.tar.gz|etc*.tgz|bsd)
+ _get_files="${_get_files} ${_f}"
+ _setsdone="${_f} ${_setsdone}"
+ ;;
+ esac
+done
+
+# Allow the user to select/de-select additional sets
while : ; do
echo ""
echo "The following sets are available for extraction."
@@ -1140,6 +1151,17 @@ echo "\n"\
"You will want at least the base and bsd sets.\n"\
"Consult the intallation notes if you are not sure which sets are required!\n"
_osetsdone="$_setsdone"
+# Set a minimal default
+for _f in $_sets $_kernel; do
+ case "$_f" in
+ base*.tar.gz|base*.tgz|etc*.tar.gz|etc*.tgz|bsd)
+ _get_files="${_get_files} ${_f}"
+ _setsdone="${_f} ${_setsdone}"
+ ;;
+ esac
+done
+
+# Allow the user to select/de-select additional sets
while : ; do
echo ""
echo "The following sets are available for extraction."