Article 5GXMC grub.cfg is not generate properly?

grub.cfg is not generate properly?

by
centguy
from LinuxQuestions.org on (#5GXMC)
Ubuntu 20.04.2.0 (latest as of 2021-04-22)

The default installation of Ubuntu has GRUB_TIMEOUT_STYLE=hidden

But the grub.cfg (after update-grub) has

Quote:

terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
fi
fi
How to interprete this?

Worse still, near the end of grub.cfg,

There is a strange

Quote:
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
latest?d=yIl2AUoC8zA latest?i=RAAKmZiFsPM:-WSu_OjySoM:F7zBnMy latest?i=RAAKmZiFsPM:-WSu_OjySoM:V_sGLiP latest?d=qj6IDK7rITs latest?i=RAAKmZiFsPM:-WSu_OjySoM:gIN9vFwRAAKmZiFsPM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments