#!/bin/sh
# $Id: prerm 563 2003-06-20 06:09:18Z godisch $

set -e

if [ "$1" = remove -o "$1" = deconfigure ] && \
	port="`grep "/usr/bin/noffle -r" /etc/inetd.conf | sed 's/[[:space:]].*$//'`"; then
	update-inetd --disable "$port"
fi

exit 0
