Skip to content
Snippets Groups Projects
Commit bf4ec469 authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimg.base.sh: reduce boot menu timeout to 1 sec

To speed up the boot a bit.
parent b35fc692
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ section_syslinux() { ...@@ -96,7 +96,7 @@ section_syslinux() {
syslinux_gen_config() { syslinux_gen_config() {
[ -z "$syslinux_serial" ] || echo "SERIAL $syslinux_serial" [ -z "$syslinux_serial" ] || echo "SERIAL $syslinux_serial"
echo "TIMEOUT ${syslinux_timeout:-20}" echo "TIMEOUT ${syslinux_timeout:-10}"
echo "PROMPT ${syslinux_prompt:-1}" echo "PROMPT ${syslinux_prompt:-1}"
echo "DEFAULT ${kernel_flavors%% *}" echo "DEFAULT ${kernel_flavors%% *}"
...@@ -133,7 +133,7 @@ syslinux_gen_config() { ...@@ -133,7 +133,7 @@ syslinux_gen_config() {
grub_gen_config() { grub_gen_config() {
local _f _p _initrd local _f _p _initrd
echo "set timeout=2" echo "set timeout=1"
for _f in $kernel_flavors; do for _f in $kernel_flavors; do
if [ -z "${xen_params+set}" ]; then if [ -z "${xen_params+set}" ]; then
_initrd="/boot/initramfs-$_f" _initrd="/boot/initramfs-$_f"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment