From 1652f585751bd32f850933980e98a409bec8da0c Mon Sep 17 00:00:00 2001 From: Jesse Hathaway Date: Wed, 31 Oct 2007 14:39:05 -0400 Subject: 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. --- helpers/lh_binary_syslinux | 2 +- helpers/lh_config | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers') diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 7de257cee..5e87d752c 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -254,7 +254,7 @@ Configure_syslinux_templates () -e "s/{\$LH_DATE}/$(date +%Y%m%d)/" \ -e "s/{\$LH_MEDIA}/${MEDIA}/" \ -e "s/{\$LH_VERSION}/${VERSION}/" \ - -e "s/{\$LINUX_TIMEOUT}/${LH_SYSLINUX_TIMEOUT}/" \ + -e "s/{\$LH_SYSLINUX_TIMEOUT}/${LH_SYSLINUX_TIMEOUT}0/" \ -e 's/\ $//g' \ $template_file done diff --git a/helpers/lh_config b/helpers/lh_config index 741b44292..808c9cc9b 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -94,7 +94,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [-s|--source-images iso|net|tar|usb-hdd]\n\ \t [--symlinks enabled|disabled]\n\ \t [--syslinux-splash FILE]\n\ -\t [--syslinux-timeout MILISECONDS]\n\ +\t [--syslinux-timeout SECONDS]\n\ \t [--sysvinit enabled|disabled]\n\ \t [--tasksel aptitude|tasksel]\n\ \t [--tasks TASK]\n\ @@ -971,7 +971,7 @@ LH_NET_COW_SERVER="${LH_NET_COW_SERVER}" # (Default: empty) LH_SYSLINUX_SPLASH="${LH_SYSLINUX_SPLASH}" -# \$LH_SYSLINUX_TIMEOUT: set custom syslinux timeout +# \$LH_SYSLINUX_TIMEOUT: set custom syslinux timeout in seconds # (Default: 0) LH_SYSLINUX_TIMEOUT="${LH_SYSLINUX_TIMEOUT}" -- cgit v1.2.3