diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-19 00:00:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-19 00:00:36 +0000 |
commit | 6215d0bee9e4c441491e6715286534da283a3393 (patch) | |
tree | dc25f049992b3354a178e787626688ef94ff511e /distrib/miniroot | |
parent | b838d8849ca7260f4d98b0f4f58d243ca2cbadfb (diff) |
Be consistant and make 'none' the last selection option presented.
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 085926eb8c2..5ae07304a8c 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.462 2009/04/18 15:12:39 deraadt Exp $ +# $OpenBSD: install.sub,v 1.463 2009/04/19 00:00:35 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -650,8 +650,8 @@ v4_config() { fi fi - [[ -x /sbin/dhclient ]] && { _prompt=" or 'dhcp'" ; : ${_addr:=dhcp} ; } - _prompt="IPv4 address for $_ifs? (or 'none'$_prompt)" + [[ -x /sbin/dhclient ]] && { _prompt="or 'dhcp' " ; : ${_addr:=dhcp} ; } + _prompt="IPv4 address for $_ifs? (${_prompt}or 'none')" ask_until "$_prompt" "$_addr" case $resp in |