diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-03-15 03:22:09 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-03-15 03:22:09 +0000 |
commit | c9b222028fa390055c79ff6ae8507293a7429235 (patch) | |
tree | 42c6f98a910cf6ed969b4baae83ef1ea62289a05 | |
parent | ba93c268176048705cde05a67bd4f3e989646118 (diff) |
cfengine: Comment out cron part of Integrit code - it is impossible to solve using CFEngine it seems.
-rw-r--r-- | cfengine/cf.services.harden | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cfengine/cf.services.harden b/cfengine/cf.services.harden index 50a0d08..348041e 100644 --- a/cfengine/cf.services.harden +++ b/cfengine/cf.services.harden @@ -119,16 +119,16 @@ editfiles: LocateLineMatching "^#[[:blank:]]*!/usr/src" ReplaceLineWith "!/usr/src" } - { /etc/cron.daily/integrit - # - # Uncomment defaults - # -# SetCommentStart "# ! " -# SetCommentEnd "" - ResetSearch "1" - LocateLineMatching '^[[:blank:]]*\#[[:blank:]]*\# ! if \[ "$\(echo "$output".*' - ReplaceLineWith ' if [ "$\(echo "$output" | egrep -v "^integrit: ")" ]; then' - ResetSearch "1" - LocateLineMatching "^[[:blank:]]*#[[:blank:]]*# ! fi" - ReplaceLineWith " fi" - } +# { /etc/cron.daily/integrit +# # +# # Uncomment defaults +# # +## SetCommentStart "# ! " +## SetCommentEnd "" +# ResetSearch "1" +# LocateLineMatching '^[[:blank:]]*\#[[:blank:]]*\# ! if \[ "$\(echo "$output".*' +# ReplaceLineWith ' if [ "$\(echo "$output" | egrep -v "^integrit: ")" ]; then' +# ResetSearch "1" +# LocateLineMatching "^[[:blank:]]*#[[:blank:]]*# ! fi" +# ReplaceLineWith " fi" +# } |