diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-08-17 18:18:51 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-08-17 18:18:51 +0000 |
commit | 6cc272659fe4b66eb4b4dc366447f735f0f0231e (patch) | |
tree | dcde338fb09196d4327598d8d0947e0fcc6d78a9 /distrib/miniroot/install.sh | |
parent | a60cbb78154af0c8bb66c15ae2ef6258b833b7e5 (diff) |
Message clarification & cleanup.
Replace the generic 'Done - no available Xs found.' message with two
more relevant ones. Suggested several times, most memorably by Todd@.
a) For selection of disks or cds to install from, and for selection of
the root disk, make it 'No Xs found.'.
b) For processing the list of disks or interfaces to initialize, make
it 'No more Xs to initialize.'.
Delete get_root() as it is only called in one place, and insert code
at that location.
Reclaim a few characters by putting ask_which() punctuation where
message is output rather than repeating it where message passed.
Diffstat (limited to 'distrib/miniroot/install.sh')
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index 483bdb58b36..61a6d7dc7c5 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.135 2003/08/07 19:12:59 deraadt Exp $ +# $OpenBSD: install.sh,v 1.136 2003/08/17 18:18:50 krw Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -100,7 +100,7 @@ if [ ! -f /etc/fstab ]; then else # Force the user to think and type in a disk name by # making 'done' the default choice. - ask_which "disk" "do you wish to initialize?" "$_DKDEVS" done + ask_which "disk" "do you wish to initialize?" "$_DKDEVS" done "No more disks to initialize" [[ $resp == done ]] && break fi |