help-grub
[Top][All Lists]
Advanced

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

Re: in difference time, can automatic change the default boot item?


From: adrian15
Subject: Re: in difference time, can automatic change the default boot item?
Date: Tue, 29 Apr 2008 12:30:07 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Bean escribió:

Hi,

This is the patch for grub4dos, it'd be trivial to integrate it with
GRUB Legacy.
Thank you very much.

> However, command checktime returns a boolean value, you
need some sort conditional statement to make it useful, in grub4dos,
you can use &&:

checktime * * * * * && default 0
Interesting.

But GRUB Legacy doesn't support this, so you need to think of some
other way to make it work, like embed the command in checktime itself.
What I will do is checktime to finish with an error 15 when result is false (or whatever) with default and fallback you can choose one option or another one.

adrian15

--
Support free software. Donate to Super Grub Disk. http://supergrub.forjamari.linex.org/?section=donate




reply via email to

[Prev in Thread] Current Thread [Next in Thread]