Feature request: "wajig status"

2 views
Skip to first unread message

Graham Williams

unread,
Jun 13, 2012, 3:59:17 PM6/13/12
to wa...@googlegroups.com
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

Tshepang Lekhonkhobe

unread,
Jun 13, 2012, 5:04:58 PM6/13/12
to wa...@googlegroups.com
It's a reasonable request, but should not be named STATUS, since that
command already exists.

Graham Williams

unread,
Jun 13, 2012, 5:29:08 PM6/13/12
to wa...@googlegroups.com
Sure. I was thinking that STATUS works since if I give it a package name it gives me that status, but if no package name then clearly(?) the intent is the "system" status?  Just a thought. 

Regards,
Graham

Tshepang Lekhonkhobe

unread,
Jun 13, 2012, 5:31:53 PM6/13/12
to wa...@googlegroups.com
Oh, wasn't thinking of it that way. Makes sense. +1 from me.
Reply all
Reply to author
Forward
0 new messages