Potential Addition to uCareSystem Script

Asked by Mark Drone

This isn't really a question or a problem, merely a contribution. I have been using the ucaresystem-core script for almost a year and have found it to be very useful. It has become part of my daily routine on all Ubuntu-based machines. Thank you very much for developing such a helpful tool.

I add the following few lines to the script (to the GOODBYE function prior to the end of script notice).

I find that it's helpful especially after kernel updates:

## Check to see if a reboot is required
if [ -f /var/run/reboot-required ]; then
  echo
  echo "* * * * * * * * * * * * * *"
  echo "* * * Reboot Required * * *"
  echo "* * * * * * * * * * * * * *"
  echo
fi
echo
echo "#########################################"
echo " Checking to see if a reboot is required "
echo "#########################################"
echo

Perhaps others will benefit from the addition.

Regards,
-MD

Question information

Language:
Spanish (Argentina) Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Salih EMIN
Solved:
Last query:
Last reply:
Revision history for this message
Salih EMIN (salih-emin) said :
#1

This a really good idea ! I opened an issue here https://github.com/Utappia/uCareSystem/issues/7 so to track the progress.
Thanks for this !

Revision history for this message
Best Salih EMIN (salih-emin) said :
#2

Hey Mark, the new (4.4.0) has your idea implemented ;)
Thanks for you contribution

Revision history for this message
Mark Drone (mdrone) said :
#3

Thanks Salih EMIN, that solved my question.