Add note if reboot is required
Signed-off-by: Alban Vidal <alban.vidal@zordhak.fr>
This commit is contained in:
parent
3c71fa06fb
commit
10e8b99851
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user