Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 09:02:16 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Oleksandr Tymoshenko <gonzo@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r343391 - head/tools/tools/tinybsd
Message-ID:  <201901241702.x0OH2GdN084159@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201901240634.x0O6YUIe013808@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: gonzo
> Date: Thu Jan 24 06:34:29 2019
> New Revision: 343391
> URL: https://svnweb.freebsd.org/changeset/base/343391
> 
> Log:
>   Fix prompt for MFSROOT in tinybsd
>   
>   tinybsd offers two choices when prompting user for MFSROOT: 'YES'
>   and 'NO'. Script logic only handles 'yes'. Change offered values
>   to lower case.

Why not fix this so that [Yy][Ee][Ss] is accepted?

>   PR:		131059
>   Submitted by:	Brock Williams <brock@cotcomsol.com>
>   MFC after:	1 week
> 
> Modified:
>   head/tools/tools/tinybsd/tinybsd
> 
> Modified: head/tools/tools/tinybsd/tinybsd
> ==============================================================================
> --- head/tools/tools/tinybsd/tinybsd	Thu Jan 24 03:50:27 2019	(r343390)
> +++ head/tools/tools/tinybsd/tinybsd	Thu Jan 24 06:34:29 2019	(r343391)
> @@ -206,7 +206,7 @@ loadconfig () {
>        break
>      fi
>    done
> -  MFSROOT=`confirm_action "$MFSROOT" "Use an MFSROOT? (YES/NO)"`
> +  MFSROOT=`confirm_action "$MFSROOT" "Use an MFSROOT? (yes/no)"`
>    IMG=`confirm_action "$IMG" "Image file to generate?"`
>  
>  # example of formatted value (NNN in this case)
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901241702.x0OH2GdN084159>