> 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 <br...@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                                                 rgri...@freebsd.org
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to