Use lowercase 'timeout' command in syslinux configuration [Closes: issue1262]
authorMichael Prokop <mika@grml.org>
Mon, 10 Jun 2013 22:53:41 +0000 (00:53 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 10 Jun 2013 22:58:28 +0000 (00:58 +0200)
With an uppercase 'TIMEOUT' command the system seems to be failing
to autoboot for a user (using kernel version 3.9-1-amd64 on a
ThinkPad T410s). While syslinux shouldn't care about it
("Keywords are case insensitive") changing the uppercase command
to lowercase fixes the issue, so let's go for it.

Thanks: Martin Ć louf for reporting this bug including a workaround

grml2usb

index 8e530d9..ab0ad63 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1384,7 +1384,7 @@ def handle_syslinux_config(grml_flavour, target):
 
     # install main configuration only *once*, no matter how many ISOs we have:
     syslinux_config_file = open(syslinux_cfg, 'w')
-    syslinux_config_file.write("TIMEOUT 300\n")
+    syslinux_config_file.write("timeout 300\n")
     syslinux_config_file.write("include vesamenu.cfg\n")
     syslinux_config_file.close()