svn commit: r343391 - head/tools/tools/tinybsd

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Thu Jan 24 17:02:21 UTC 2019


> 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 at 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 at freebsd.org


More information about the svn-src-all mailing list