Howto monitor a new kernel installed but not yet used
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a little perl script (I wrote it) that monitors my house (X10, IR, networks etc) and speaks via festival when things change or are changed by me (for confirmation).
Today squeeze got a new kernel version, now she knows that she is running Linux 2.6.26-2-486 i686 however an update has happened and a new version is installed, Linux 2.6.30-1-486 i686, which will be in use on the next boot up.
What I would like to do is find the correct way to determine this event has happened so she can ask me permission to reboot.
Apart from monitoring the grub file menu.1st mod time and then parsing for changes and considering this is about to change cos of GRUB2, is there a more standard way I should use?
Thanks for that, will use it later as migrating Arnie (name of monitoring script) over to mono type c thingy bobby, currently use Log::Log4perl::Config::Watch in Arnie for watching files etc
my $grubfile = Log::Log4perl::Config::Watch->new(file => "/boot/grub/menu.lst", check_interval => 60);
I was just hoping there was some sort of linux New kernel pending standard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.