From e0716d31973bf0f6703fb9ee341d01bc799a683b Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Mon, 27 Apr 2020 15:35:28 +0200 Subject: [PATCH] Remove check_oldhomedir - This information is irrelevant since we always keep home directories of former sysadmins --- evocheck.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/evocheck.sh b/evocheck.sh index ca5537e..6a72116 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -146,9 +146,6 @@ check_gitperms(){ test -d /etc/.git && [ "$(stat -f %p /etc/.git/)" = "40700" ] || failed "IS_GITPERMS" "The directiry /etc/.git sould be in 700" } -check_oldhomedir(){ -} - check_advbase(){ if ls /etc/hostname.carp* 1> /dev/null 2>&1; then for advbase in $(ifconfig carp | grep advbase | awk -F 'advbase' '{print $2}' | awk '{print $1}' | xargs); do @@ -309,7 +306,6 @@ main() { test "${IS_UPTIME:=1}" = 1 && check_uptime test "${IS_BACKUPUPTODATE:=1}" = 1 && check_backuptodate test "${IS_GITPERMS:=1}" = 1 && check_gitperms - test "${IS_OLD_HOME_DIR:=1}" = 1 && check_oldhomedir test "${IS_ADVBASE:=1}" = 1 && check_advbase test "${IS_PREEMPT:=1}" = 1 && check_preempt test "${IS_REBOOTMAIL:=1}" = 1 && check_rebootmail