How does Ubuntu keep track of the “System restart required” flag in motd?

Check for the presence of /var/run/reboot-required.

Leave a Comment