1. 程式人生 > >CentOS 7 修改開機等待時間

CentOS 7 修改開機等待時間

找到 /boot/grub2 下的 grub.cfg

找到並修改下面的程式碼:

  fi
}


terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5(建議修改成1,不要修改成0,修改完成後,重啟即可看到效果)
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###