mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +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
|
# Some nice defines that we use
|
||||||
|
|
||||||
MODULE=apparmor
|
|
||||||
PARSER=/sbin/apparmor_parser
|
PARSER=/sbin/apparmor_parser
|
||||||
PARSER_OPTS=
|
PARSER_OPTS=
|
||||||
# Suppress warnings when booting in quiet mode
|
# Suppress warnings when booting in quiet mode
|
||||||
@@ -262,8 +261,8 @@ is_apparmor_loaded() {
|
|||||||
mount_securityfs
|
mount_securityfs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "${SECURITYFS}/${MODULE}/profiles" ]; then
|
if [ -f "${SECURITYFS}/apparmor/profiles" ]; then
|
||||||
SFS_MOUNTPOINT="${SECURITYFS}/${MODULE}"
|
SFS_MOUNTPOINT="${SECURITYFS}/apparmor"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user