summaryrefslogtreecommitdiff
path: root/pcr/apparmor/apparmor_load.sh
blob: 663ebc04543b0547362e561d41b58f455e88647b (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"