Howto monitor a new kernel installed but not yet used
debian Linux i686 perl
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?