首页 > 其他 > 详细

Centos 7 修改开机等待时间

时间:2021-05-13 19:43:03      阅读:21      评论:0      收藏:0      [点我收藏+]

1、修改配置

vim /boot/grub2/grub.cfg

2、定位到如下这段

if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi

3、修改set timeout 为1,为0无效,只需要改第一个timeout。

if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=1
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
 

 

Centos 7 修改开机等待时间

原文:https://www.cnblogs.com/alexlv/p/14764099.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!