2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

Get rid of $MODULE, replace usage with hardcoded "apparmor"

I slightly ;-) doubt we'll change the module name.
This commit is contained in:
Christian Boltz
2019-03-18 18:53:42 +01:00
parent 75dc438823
commit e20e49c130

View File

@@ -31,7 +31,6 @@
# Some nice defines that we use
MODULE=apparmor
PARSER=/sbin/apparmor_parser
PARSER_OPTS=
# Suppress warnings when booting in quiet mode
@@ -262,8 +261,8 @@ is_apparmor_loaded() {
mount_securityfs
fi
if [ -f "${SECURITYFS}/${MODULE}/profiles" ]; then
SFS_MOUNTPOINT="${SECURITYFS}/${MODULE}"
if [ -f "${SECURITYFS}/apparmor/profiles" ]; then
SFS_MOUNTPOINT="${SECURITYFS}/apparmor"
return 0
fi