Potential Addition to uCareSystem Script

Asked by Mark Drone on 2017-11-03

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:
2018-01-27
Last query:
2018-01-27
Last reply:
2018-01-26
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 !

Best Salih EMIN (salih-emin) said : #2

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

Mark Drone (mdrone) said : #3

Thanks Salih EMIN, that solved my question.