From 954eaf5e288f19093479c151f5a84f441fb41b22 Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Fri, 22 Mar 2019 14:53:59 +0100 Subject: [PATCH] Add VERBOSE message for the IS_TMOUTPROFILE check --- evocheck.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/evocheck.sh b/evocheck.sh index a54073b..4978b6b 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -155,6 +155,9 @@ fi if [ "$IS_TMOUTPROFILE" = 1 ]; then grep -q TMOUT= /etc/skel/.profile /root/.profile || echo 'IS_TMOUTPROFILE FAILED!' + if [[ "$VERBOSE" == 1 ]]; then + echo "In order to fix, add 'export TMOUT=36000' to both /etc/skel/.profile and /root/.profile files" + fi fi