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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user