2b24e2ff84c03a1e049449127958df8dc16a74fdMartin Pitt# lxc-apparmor-load: Load AppArmor profiles, if supported by the system
2b24e2ff84c03a1e049449127958df8dc16a74fdMartin Pitt# don't load profiles if mount mediation is not supported
2b24e2ff84c03a1e049449127958df8dc16a74fdMartin PittSYSF=/sys/kernel/security/apparmor/features/mount/mask
2b24e2ff84c03a1e049449127958df8dc16a74fdMartin Pittif [ -f $SYSF ]; then
d2111444dddddb706c29e4f2f46047dfca8c59ceStéphane Graber elif [ -x /lib/init/apparmor-profile-load ]; then
d2111444dddddb706c29e4f2f46047dfca8c59ceStéphane Graber /lib/init/apparmor-profile-load usr.bin.lxc-start