Adding noapparmor boot parameter.
[live-boot-grml.git] / scripts / live-bottom / 42disable_cups_apparmor
index 588214e..09d1869 100755 (executable)
@@ -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..."