Check whether the system should be restarted after an update is left to be done

This commit is contained in:
Tristan PILAT 2019-03-22 14:56:46 +01:00
parent 37f3c1faee
commit e4269d793c
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ if [ "$IS_EVOBACKUP" = 1 ]; then
fi
fi
# Check whether the system should be restarted (after a kernel update)
#if [ "$IS_KERNELUPTODATE" = 1 ]; then
# TODO
#fi
# Check if the server is running for more than a year.
if [ "$IS_UPTIME" = 1 ]; then
echo 'IS_UPTIME FAILED!'