view debian/prerm @ 415:a7dbefcafc43 noffle

[svn] removed useless call of invoke-rc.d
author godisch
date Fri, 20 Jun 2003 06:46:35 +0100
parents b9018588cc52
children e5bd838e0c27
line wrap: on
line source

#!/bin/sh
# $Id: prerm 558 2003-06-20 05:46:35Z godisch $

set -e

if [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_get noffle/debconf
	if [ "$RET" = true ]; then
		db_get noffle/port
		port="$RET"
		if [ -z "$port" -o "$port" = 119 ]; then
			port=nntp
		fi
		update-inetd --disable "$port"
	fi
	db_stop
fi

exit 0