#!/bin/sh -e if [ "$1" = "disappear" -o "$1" = "remove" ] then update-inetd --disable ftp fi if [ "$1" = "purge" ] then rm -rf /etc/proftpd update-rc.d proftpd remove >/dev/null || exit $? userdel --remove --force proftpd || true fi # Automatically added by dh_installdebconf if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section