#!/bin/sh
set -e
# Automatically added by dh_installinit/13.11.4+ci202308161418+astra1+b3
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/ssh" ] ; then
	invoke-rc.d ssh stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/13.11.4+ci202308161418+astra1+b3
dpkg-maintscript-helper rm_conffile /etc/network/if-up.d/openssh-server 1:7.9p1-1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/13.11.4+ci202308161418+astra1+b3
dpkg-maintscript-helper rm_conffile /etc/init/ssh.conf 1:7.5p1-6~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/13.11.4+ci202308161418+astra1+b3
dpkg-maintscript-helper mv_conffile /etc/pam.d/ssh /etc/pam.d/sshd 1:4.7p1-4~ -- "$@"
# End automatically added section
# Automatically added by dh_systemd_start/13.11.4+ci202308161418+astra1+b3
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
	deb-systemd-invoke stop 'rescue-ssh.target' >/dev/null || true
fi
# End automatically added section
