1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

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.

PR:		131059
Submitted by:	Brock Williams <brock@cotcomsol.com>
MFC after:	1 week
This commit is contained in:
Oleksandr Tymoshenko 2019-01-24 06:34:29 +00:00
parent bdf95b7398
commit 95ad3a2dca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343391

View File

@ -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)