Set MAC default to apparmor.

This commit is contained in:
Samson-W 2019-04-18 23:10:53 +08:00
parent e6040d5ee4
commit ee9eac8550
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ FILE='/etc/audit/rules.d/audit.rules'
# This function will be called if the script status is on enabled / audit mode
audit () {
# Set default to apparmor
AUDIT_PARAMS=$AA_AUDIT_PARAMS
# define custom IFS and save default one
d_IFS=$IFS
IFS=$'\n'