summaryrefslogtreecommitdiff
path: root/pcr/apparmor/apparmor_unload.sh
blob: f2d987dc27b7071052908ee12403074647ed501b (plain)
1
2
3
4
5
#!/bin/sh

aa_profiles='/etc/apparmor.d/'
aa_log='/var/log/apparmor.init.log'
find "$aa_profiles" -maxdepth 1 -type f -exec /usr/bin/apparmor_parser -R {} \; 2>> "$aa_log"