summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-31 14:39:05 -0400
committerJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-31 14:43:26 -0400
commit890801563d0c63e1af88fefb82bccc5715d3af9b (patch)
tree4e51a0fda708972f2c9753e944b8c170cf2e9a30 /templates
parente7100f46b8e616f200845bc644f1d1f881ceceb8 (diff)
downloadvyos-live-build-890801563d0c63e1af88fefb82bccc5715d3af9b.tar.gz
vyos-live-build-890801563d0c63e1af88fefb82bccc5715d3af9b.zip
fix syslinux timeout option
change MILISECONDS to SECONDS. Syslinux actually uses tenths of seconds not milliseconds, but it seems unnecessary to expose this to the user. Fix templates to only specify the timeout once.
Diffstat (limited to 'templates')
-rw-r--r--templates/syslinux/menu/header.cfg2
-rw-r--r--templates/syslinux/menu/prompt.cfg2
-rw-r--r--templates/syslinux/normal/footer.cfg1
-rw-r--r--templates/syslinux/normal/prompt.cfg2
4 files changed, 3 insertions, 4 deletions
diff --git a/templates/syslinux/menu/header.cfg b/templates/syslinux/menu/header.cfg
index 56c5efd89..bb3dac8a0 100644
--- a/templates/syslinux/menu/header.cfg
+++ b/templates/syslinux/menu/header.cfg
@@ -1,7 +1,7 @@
default {$LIVE_DATA_PATH}/vesamenu.c32
font {$LIVE_DATA_PATH}/iso01.f14.psf
-timeout 1000
+timeout {$LH_SYSLINUX_TIMEOUT}
prompt 0
menu background {$SPLASH}
diff --git a/templates/syslinux/menu/prompt.cfg b/templates/syslinux/menu/prompt.cfg
index d5b183137..3ea1ab4d9 100644
--- a/templates/syslinux/menu/prompt.cfg
+++ b/templates/syslinux/menu/prompt.cfg
@@ -1,5 +1,5 @@
prompt 1
-timeout 0
+timeout {$LH_SYSLINUX_TIMEOUT}
default live
display {$LIVE_SCREEN_PATH}/f1.txt
include {$LIVE_SCREEN_PATH}/menu.cfg
diff --git a/templates/syslinux/normal/footer.cfg b/templates/syslinux/normal/footer.cfg
index 368c3071a..e69de29bb 100644
--- a/templates/syslinux/normal/footer.cfg
+++ b/templates/syslinux/normal/footer.cfg
@@ -1 +0,0 @@
-timeout {$LINUX_TIMEOUT}
diff --git a/templates/syslinux/normal/prompt.cfg b/templates/syslinux/normal/prompt.cfg
index 97ed60c95..0e82c437d 100644
--- a/templates/syslinux/normal/prompt.cfg
+++ b/templates/syslinux/normal/prompt.cfg
@@ -1,5 +1,5 @@
prompt 1
-timeout 0
+timeout {$LH_SYSLINUX_TIMEOUT}
default live
display {$LIVE_SCREEN_PATH}/boot.txt
include {$LIVE_SCREEN_PATH}/menu.cfg