#! /bin/sh -e # Automatically added by dh_installsystemd/13.15.3 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'faxq.service' 'hfaxd.service' >/dev/null || true fi # End automatically added section if [ -x /etc/init.d/hylafax -a -e /var/spool/hylafax/etc/setup.cache -a \ $(ps --no-headers -Chfaxd,faxq,faxgetty | wc -l) -gt 0 ] then invoke-rc.d hylafax stop fi exit 0