Add exception config for X11 server to 6.1.

This commit is contained in:
Samson-W 2020-06-21 04:37:32 +08:00
parent 4ebc44d476
commit 72c0d63343
1 changed files with 7 additions and 2 deletions

View File

@ -43,8 +43,8 @@ apply () {
done
}
# This function will check config parameters required
check_config() {
# This function will create the config file for this check with default values
create_config() {
cat <<EOF
status=disabled
# Put here exception to pass this case, if set is 1, don't need apply, let to pass.
@ -52,6 +52,11 @@ ISEXCEPTION=0
EOF
}
# This function will check config parameters required
check_config() {
:
}
# Source Root Dir Parameter
if [ -r /etc/default/cis-hardening ]; then
. /etc/default/cis-hardening