Chris Umphress wrote: > Hey, > > We have some computers that need a boot loader to self-destruct at the > end of a school year. In order to accomplish this we would like to use > Grub scripting. From what I have been able to find, the support is > incomplete and we would have to write the code to self-destruct > somehow.
I can think of a couple ways to do what you say: - if there is a date/time command in GRUB, have the `grub.cfg` check the date and refuse to offer any booting options after that date (where I suppose the hardware-clock supplies that date) - alternatively to "not booting", you could have it boot DBAN which will erase everything on all disks :-) Or have a human manually boot the self-destruct option (which should require an administrator password probably) (how do you expect to re-use these computers, if they have a nonfunctional boot-loader, by the way?) -Isaac _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel