#!/bin/sh set -e # Automatically added by dh_installinit/14.3 if [ "$1" = "remove" ] && [ -x "/etc/init.d/nut-client" ] ; then chmod -x "/etc/init.d/nut-client" >/dev/null || true fi if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then update-rc.d nut-client remove >/dev/null fi # End automatically added section # Automatically added by dh_installsystemd/14.3 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/14.3 if [ "$1" = "purge" ]; then deb-systemd-helper purge 'nut-logger.service' 'nut-monitor.service' 'nut.target' >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/14.3 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/14.3 if [ "$1" = "purge" ]; then deb-systemd-helper purge 'nut-logger.service' >/dev/null || true fi # End automatically added section