diff --git a/root/.profile.d/01_stats_connexion.conf b/root/.profile.d/01_stats_connexion.conf index 2da15dc..8907744 100644 --- a/root/.profile.d/01_stats_connexion.conf +++ b/root/.profile.d/01_stats_connexion.conf @@ -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 +