summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/42disable_cups_apparmor5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/live-bottom/42disable_cups_apparmor b/scripts/live-bottom/42disable_cups_apparmor
index 588214e..09d1869 100755
--- a/scripts/live-bottom/42disable_cups_apparmor
+++ b/scripts/live-bottom/42disable_cups_apparmor
@@ -20,6 +20,11 @@ esac
# live-initramfs header
+if [ -n "${NOAPPARMOR}" ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Disabling AppArmor profile for Cups..."