Commit 5d65669e authored by Franco Fichtner's avatar Franco Fichtner

firmware: tweak wording on the console dialog

parent 28ea1d73
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment