diff options
-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" +# } |