projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Be consistent in using 0/1 for True/False values instead of English representations.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
42disable_apparmor
diff --git
a/scripts/live-bottom/42disable_apparmor
b/scripts/live-bottom/42disable_apparmor
index
d325ddb
..
f87cab4
100755
(executable)
--- a/
scripts/live-bottom/42disable_apparmor
+++ b/
scripts/live-bottom/42disable_apparmor
@@
-27,10
+27,13
@@
fi
. /scripts/live-functions
. /scripts/live-functions
-log_begin_msg "Disabling AppArmor (does not work with stacked file systems)
...
"
+log_begin_msg "Disabling AppArmor (does not work with stacked file systems)"
# live-initramfs script
# live-initramfs script
-chroot /root update-rc.d -f apparmor remove
+if [ -x /root/etc/init.d/apparmor ]
+then
+ chroot /root update-rc.d -f apparmor remove
+fi
log_end_msg
log_end_msg