diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-02-02 04:08:13 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-02-02 04:08:13 +0000 |
commit | 5134cfac45d3bb6917f22bf0251cd334dee248bb (patch) | |
tree | 1a9abd3cae23c2cf94c154546c6a04f9348793d7 /release/scripts/bininst.sh | |
parent | 31c448c24aeb638532bd77cbd051323f1293fcff (diff) |
We don't need to go back to the first screen again - optimize this.
Notes
Notes:
svn path=/head/; revision=6115
Diffstat (limited to 'release/scripts/bininst.sh')
-rwxr-xr-x | release/scripts/bininst.sh | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/release/scripts/bininst.sh b/release/scripts/bininst.sh index b381939e6330..d2663e2c9523 100755 --- a/release/scripts/bininst.sh +++ b/release/scripts/bininst.sh @@ -13,7 +13,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: bininst.sh,v 1.3 1995/01/28 01:18:41 jkh Exp $ +# $Id: bininst.sh,v 1.4 1995/01/28 01:20:18 jkh Exp $ if [ "${_BININST_LOADED_}" = "yes" ]; then error "Error, $0 loaded more than once!" @@ -39,7 +39,6 @@ set_defaults() { network_set_defaults media_set_defaults - INSTALLING="yes" mkdir -p ${TMP} cp /stand/etc/* /etc } @@ -80,19 +79,17 @@ Enjoy FreeBSD 2.0! welcome set_defaults -while [ "${INSTALLING}" = "yes" ]; do - if media_select_distribution; then - if media_chose; then - for xx in ${MEDIA_DISTRIBUTIONS}; do - MEDIA_DISTRIBUTION=`eval echo \`echo $xx\`` - media_install_set - done - fi - else - do_last_config - INSTALLING="no" +if media_select_distribution; then + if media_chose_method; then + for xx in ${MEDIA_DISTRIBUTIONS}; do + MEDIA_DISTRIBUTION=`eval echo \`echo $xx\`` + media_install_set + done fi -done +else + do_last_config +fi + echo; echo "Spawning shell. Exit shell to continue with new bindist." echo "Progress <installation completed>" > /dev/ttyv1 /stand/sh |