On Thu, Nov 29, 2012 at 3:26 PM, david manyé <[email protected]> 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. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
