File: //var/lib/dpkg/info/auditd.prerm
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'auditd.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/auditd" ] ; then
invoke-rc.d --skip-systemd-native auditd stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/13.6ubuntu1
dpkg-maintscript-helper mv_conffile /etc/audisp/plugins.d/af_unix.conf /etc/audit/plugins.d/af_unix.conf 1:3.0\~alpha9-1\~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/audisp/plugins.d/syslog.conf /etc/audit/plugins.d/syslog.conf 1:3.0\~alpha9-1\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/audisp/audispd.conf 1:3.0\~alpha9-1\~ -- "$@"
# End automatically added section