From d6172ad89ef90269712c2205cf72a88d49b6f567 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Wed, 6 Feb 2019 15:26:41 +0100 Subject: [PATCH] Change default status disabled -> audit when no conf file --- lib/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.sh b/lib/main.sh index 6be3e61..197f634 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -60,7 +60,7 @@ if ! [ -r $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg ] ; then if type -t create_config | grep -qw function ; then create_config >> $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg else - echo "status=disabled" >> $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg + echo "status=audit" >> $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg fi fi [ -r $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg ] && . $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg