版权声明:欧阳大仙萌萌哒 https://blog.csdn.net/shana_8/article/details/81455657
sudo vim /etc/grub.d/30_os-prober
隐藏菜单缩短时间,
将其中的adjust_timeout函数中
timeout_style=menu改为timeout_style=hidden
如果想显示倒计时,
timeout_style=menu改为timeout_style=ountdown
set timeout=10改为set timeout=1
sudo update-grub