Add note if reboot is required

Signed-off-by: Alban Vidal <alban.vidal@zordhak.fr>
This commit is contained in:
Alban Vidal 2018-05-30 12:19:15 +02:00
parent 3c71fa06fb
commit 10e8b99851

View File

@ -47,3 +47,8 @@ echo -e "Swap usage\t:\t$swap_usage"
echo -e "Process number\t:\t$processes"
echo
# If reboot is required
if [ -f /run/reboot-required ] ; then
echo -e "$(tput setaf 1)\tReboot is required$(tput sgr0)"
fi