Checking for "reboot required"

James james2432 at gmail.com
Wed Jan 5 20:46:00 UTC 2011


also I'm not sure if it actually uses this anymore but before ubuntu use to
create a file called "reboot-required" in /var/run

but this is only in ubuntu, it won't work on other systems

2011/1/5 James <james2432 at gmail.com>

> You can always compare the output of "uname -a" with a list of installed
> kernel packages
>
>
> On Wed, Jan 5, 2011 at 3:40 PM, Darcy Casselman <dscassel at gmail.com>wrote:
>
>> This won't help if you're trying to write a script or something, but
>> if you start up byobu, it'll tell you if you need to reboot (and if
>> there are updates available).
>>
>> Darcy.
>>
>> On Wed, Jan 5, 2011 at 3:34 PM, Bob Jonkman <bjonkman at sobac.com> wrote:
>> > Hi all: How can I tell from the command line if a reboot is required
>> after
>> > updates?
>> >
>> > After a kernel update the Shutdown icon in the Gnome panel changes
>> colour,
>> > and logging into a terminal shows the message "Reboot is required".
>>  What is
>> > the file to read or command to run to get this info?
>> >
>> > --Bob.
>> >
>> > --
>> >
>> > Bob Jonkman<bjonkman at sobac.com>           http://sobac.com/sobac/
>> > SOBAC Microcomputer Services              Voice: +1-519-669-0388
>> > 6 James Street, Elmira ON  Canada  N3B 1L5  Cel: +1-519-635-9413
>> > Software   ---   Office&   Business Automation   ---   Consulting
>> >
>> >
>> > --
>> > ubuntu-ca mailing list
>> > ubuntu-ca at lists.ubuntu.com
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>> >
>>
>> --
>> ubuntu-ca mailing list
>> ubuntu-ca at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>>
>
>
>
> --
> 外に遊びに行こう!
>
>


-- 
外に遊びに行こう!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20110105/212faa75/attachment.html>


More information about the ubuntu-ca mailing list