On Sat, Aug 30, 2008 at 05:01:29AM +0800, [email protected] wrote:
> FZ> If people want to have a timeout of 0 then they just can set it
> FZ> at /etc/default/grub
>
> But no timeout is different that a timeout of 0, isn't it?
> Does timeout=0 almost the same as timeout=9999999... or timeout=0.000001?
> Who knows, it is all not documented at all.
Setting GRUB_TIMEOUT=-1 has the effect you're asking for, with no need
to change the existing grub.d scripts. (You'll still get a timeout line
in grub.cfg, but that's OK.)
This was indeed entirely undocumented. Rather than sprinkling lots of
documentation through /etc/default/grub and annoying people with
conffile change prompts, it seemed much better to flesh out 'info grub'
to document the available keys in /etc/default/grub in detail, so that's
what I've done upstream. The next upload will include this text in the
section on /etc/default/grub in 'info grub', which I will consider to
close this bug:
`GRUB_TIMEOUT'
Boot the default entry this many seconds after the menu is
displayed, unless a key is pressed. The default is `5'. Set to
`0' to boot immediately without displaying the menu, or to `-1' to
wait indefinitely.
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]