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

aa_profiles='/etc/apparmor.d/'
aa_log='/var/log/apparmor.init.log'
PROFILES=`find "$aa_profiles" -maxdepth 1 -type f`
for profile in $PROFILES; do
    apparmor_parser -R "$profile" 2>> "$aa_log"
done