help-grub
[Top][All Lists]
Advanced

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

Re: conditional boot depending on date


From: Andrey Borzenkov
Subject: Re: conditional boot depending on date
Date: Thu, 29 Nov 2012 16:10:48 +0400

On Thu, Nov 29, 2012 at 3:26 PM, david manyƩ <address@hidden> wrote:
> hello,
>
> i'd like to change the default boot entry depending on the date. more
> precisely, i'd like to boot a concrete option if the machine boots in a
> given day of the week and time range. i've seen there is a date command that
> outputs the info i need to check but i don't know how.
>
> is it possible?
>

I doubt it is. There is no way obtain output of "date" command (or any
command) in a grub2 script for all I know. So while you can display
current date and time you cannot programmatically compare its value.



reply via email to

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