projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding noapparmor boot parameter.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
42disable_cups_apparmor
diff --git
a/scripts/live-bottom/42disable_cups_apparmor
b/scripts/live-bottom/42disable_cups_apparmor
index
588214e
..
09d1869
100755
(executable)
--- a/
scripts/live-bottom/42disable_cups_apparmor
+++ b/
scripts/live-bottom/42disable_cups_apparmor
@@
-20,6
+20,11
@@
esac
# live-initramfs header
# live-initramfs header
+if [ -n "${NOAPPARMOR}" ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Disabling AppArmor profile for Cups..."
. /scripts/live-functions
log_begin_msg "Disabling AppArmor profile for Cups..."