#!/bin/sh
[ -r /etc/default/apparmor ] && . /etc/default/apparmor || exit 1

# Find all profiles in $APPARMORD and unload them
for profile in $(find /etc/apparmor.d -maxdepth 1 -type f); do
	apparmor_parser -R $profile
done
