#!/bin/sh -e action=$1 version=$2 if [ "$1" = "remove" ] then rm -f /etc/mgetty/.faxrunqd_not_to_be_run rm -f /var/spool/fax/outgoing/.last_run fi # Automatically added by dh_installsystemd/13.22 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'mgetty-fax.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.22 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/mgetty-fax" ] ; then invoke-rc.d --skip-systemd-native mgetty-fax stop || exit 1 fi # End automatically added section