[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: syslinux kernel and timeout



On Mon, Sep 19, 2011 at 06:17:29PM +0300, Tzafrir Cohen wrote:
> Hi
> 
> I've upgraded our live CD (i386) to use live-build 3.0~a31-1 (on a
> amd64 Wheezy host). The progress is impressive.
> 
> One thing I still miss is the syslinux configuration. I originally had:
> 
>   --syslinux-timeout 20 \
>   --syslinux-splash config/xorcom.lss \

[snip]

> $ cat config/hooks/fix_syslinux_timeout.binary
> #!/bin/sh
> cfg="binary/isolinux/isolinux.cfg"
> timeout=20  # units: 1/10 second
> sed -i -e "s/^timeout .*/timeout $timeout/" "$cfg"

Just to correct an error in the above: '--syslinux-timeout 20' should
give a timeout of 20 seconds, that is: 'timeout 200' in the syslinux
configuration ('timeout=200' in the above hook script).

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: