#!/bin/sh set -e # Automatically added by dh_installinit/13.24.1 if [ "$1" = "remove" ] && [ -x "/etc/init.d/uacctd" ] ; then chmod -x "/etc/init.d/uacctd" >/dev/null || true fi if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then update-rc.d uacctd remove >/dev/null fi # End automatically added section # Automatically added by dh_installinit/13.24.1 if [ "$1" = "remove" ] && [ -x "/etc/init.d/sfacctd" ] ; then chmod -x "/etc/init.d/sfacctd" >/dev/null || true fi if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then update-rc.d sfacctd remove >/dev/null fi # End automatically added section # Automatically added by dh_installinit/13.24.1 if [ "$1" = "remove" ] && [ -x "/etc/init.d/nfacctd" ] ; then chmod -x "/etc/init.d/nfacctd" >/dev/null || true fi if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then update-rc.d nfacctd remove >/dev/null fi # End automatically added section # Automatically added by dh_installinit/13.24.1 if [ "$1" = "remove" ] && [ -x "/etc/init.d/pmacctd" ] ; then chmod -x "/etc/init.d/pmacctd" >/dev/null || true fi if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then update-rc.d pmacctd remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.24.1 dpkg-maintscript-helper mv_conffile /etc/init.d/pmacct /etc/init.d/pmacctd 1.5.0-1\~\~ pmacct -- "$@" dpkg-maintscript-helper mv_conffile /etc/default/pmacct /etc/default/pmacctd 1.5.0-1\~\~ pmacct -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'uacctd.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'sfacctd.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'nfacctd.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.24.1 if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'pmacctd.service' >/dev/null || true fi fi # End automatically added section