From c9b222028fa390055c79ff6ae8507293a7429235 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 15 Mar 2002 03:22:09 +0000 Subject: cfengine: Comment out cron part of Integrit code - it is impossible to solve using CFEngine it seems. --- cfengine/cf.services.harden | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'cfengine') 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" +# } -- cgit v1.2.3