Often I find myself wanting to just check the status of an installation and in particular checking whether a remote system needs rebooting after an upgrade.
I am currently doing this:
if [ -e /var/run/reboot-required ]; then
cat /var/run/reboot-required
else
echo "Reboot not required."
fi
I wonder if it might be useful to add this to wajig as the response from the STATUS command if it is not supplied with a package name. This STATUS could grow over time to include other information like last time the system was upgraded, last update, etc?
Regards,
Graham