Import last evocheck.sh version
This commit is contained in:
parent
b68a18a4f5
commit
1bfa1d61f0
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ check_noatime(){
|
|||
}
|
||||
|
||||
check_tmoutprofile(){
|
||||
if [ -f /etc/skel/.profile ]
|
||||
if [ -f /etc/skel/.profile ]; then
|
||||
grep -q TMOUT= /etc/skel/.profile /root/.profile || failed "IS_TMOUTPROFILE" "In order to fix, add 'export TMOUT=36000' to both /etc/skel/.profile and /root/.profile files"
|
||||
else
|
||||
failed "IS_TMOUTPROFILE" "File /etc/skel/.profile does not exist. Both /etc/skel/.profile and /root/.profile should contain at least 'export TMOUT=36000'"
|
||||
|
|
Loading…
Reference in a new issue