summaryrefslogtreecommitdiff
path: root/pcr/apparmor/aa-teardown
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-04-06 10:23:47 -0300
committerDavid P <megver83@parabola.nu>2018-04-06 10:25:51 -0300
commit0acc9a712cb67d6a793eebc2df362e6e95def52e (patch)
treefe20d749a8d190683b4fb10b9a7cdd4e44f6e704 /pcr/apparmor/aa-teardown
parent0ffe604ceb554d788db0f212db7d7f52e3cfd84c (diff)
downloadabslibre-0acc9a712cb67d6a793eebc2df362e6e95def52e.tar.gz
abslibre-0acc9a712cb67d6a793eebc2df362e6e95def52e.tar.bz2
abslibre-0acc9a712cb67d6a793eebc2df362e6e95def52e.zip
upgpkg: pcr/apparmor 2.12.0-1
Diffstat (limited to 'pcr/apparmor/aa-teardown')
-rw-r--r--pcr/apparmor/aa-teardown10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/apparmor/aa-teardown b/pcr/apparmor/aa-teardown
new file mode 100644
index 000000000..44288569e
--- /dev/null
+++ b/pcr/apparmor/aa-teardown
@@ -0,0 +1,10 @@
+#!/usr/bin/bash
+
+test $# = 0 || {
+ echo "Usage: $0"
+ echo
+ echo "Unloads all AppArmor profiles"
+ exit 1
+}
+
+/usr/lib/apparmor/apparmor.systemd stop