44-remove-unused-AppArmor-profiles 558 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. set -e
  3. echo "Deleting unused AppArmor profiles"
  4. (
  5. cd /etc/apparmor.d
  6. rm \
  7. apache2.d/phpsysinfo \
  8. sbin.klogd \
  9. sbin.syslogd \
  10. sbin.syslog-ng \
  11. usr.bin.chromium-browser \
  12. usr.lib.dovecot.* \
  13. usr.sbin.dnsmasq \
  14. usr.sbin.dovecot \
  15. usr.sbin.identd \
  16. usr.sbin.mdnsd \
  17. usr.sbin.nmbd \
  18. usr.sbin.ntpd \
  19. usr.sbin.nscd \
  20. usr.sbin.smb*
  21. )