firmware: tweak wording on the console dialog

This commit is contained in:
Franco Fichtner 2016-11-25 06:41:46 +01:00
parent 28ea1d7390
commit 5d65669ee0

View File

@ -32,6 +32,10 @@ PROMPT="[y/N]"
NAME="y"
ARGS=
echo "This will automatically fetch all available updates, apply them,"
echo "and reboot if necessary."
echo
if [ -f ${UPGRADE} ]; then
NAME=$(cat ${UPGRADE})
@ -42,14 +46,12 @@ if [ -f ${UPGRADE} ]; then
echo "require 500MB of free space. Continue with this major upgrade by"
echo "typing the major upgrade version number displayed above."
echo
echo "Minor updates are available, answer 'y' to run them instead."
echo
PROMPT="[y/${NAME}/N]"
PROMPT="[${NAME}/y/N]"
fi
echo "This will automatically fetch all available updates, apply them,"
echo "and reboot if necessary."
echo
read -p "Proceed with this action? ${PROMPT}: " YN
case ${YN} in