Mercurial > noffle
view debian/prerm @ 402:6b4d9c2087f0 noffle
[svn] debconf update
author | godisch |
---|---|
date | Tue, 03 Jun 2003 22:31:11 +0100 |
parents | a23b37308063 |
children | 775af896124a |
line wrap: on
line source
#!/bin/sh # $Id: prerm 544 2003-06-03 21:31:11Z godisch $ set -e if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d noffle stop elif [ -x /etc/init.d/noffle ]; then /etc/init.d/noffle stop fi if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_version 2.0 db_get noffle/port port="$RET" if [ -z "$port" -o "$port" = 119 ]; then port=nntp fi update-inetd --disable $port db_stop fi exit 0