So you have a Debian based installation (i.e., Ubuntu, Linux Mint and of course Debian itself), how would you know if you need to reboot after running apt-get upgrade?
Well, this should be as easy as checking for the presence of the file /var/run/reboot-required
Tags:
apt, apt-get, upgrade, reboot, required
References:
http://askubuntu.com/questions/28530/how-can-i-tell-what-package-requires-a-reboot-of-my-system
http://serverfault.com/questions/92932/how-does-ubuntu-keep-track-of-the-system-restart-required-flag-in-motd
Well, this should be as easy as checking for the presence of the file /var/run/reboot-required
Tags:
apt, apt-get, upgrade, reboot, required
References:
http://askubuntu.com/questions/28530/how-can-i-tell-what-package-requires-a-reboot-of-my-system
http://serverfault.com/questions/92932/how-does-ubuntu-keep-track-of-the-system-restart-required-flag-in-motd
Comments