301
|
1 #!/bin/sh
|
325
|
2 # $Id: prerm 460 2003-02-23 15:16:46Z godisch $
|
301
|
3
|
|
4 set -e
|
325
|
5 . /usr/share/debconf/confmodule
|
|
6 db_version 2.0
|
301
|
7
|
324
|
8 if [ -x /usr/sbin/invoke-rc.d ]; then
|
|
9 invoke-rc.d noffle stop
|
|
10 elif [ -x /etc/init.d/noffle ]; then
|
|
11 /etc/init.d/noffle stop
|
|
12 fi
|
301
|
13
|
324
|
14 if [ -e /usr/share/debconf/confmodule ]; then
|
|
15 db_get noffle/port || RET=""
|
|
16 port="$RET"
|
|
17 [ -z "$port" -o "$port" = 119 ] && port=nntp
|
312
|
18 update-inetd --disable $port
|
324
|
19 fi
|
301
|
20
|
325
|
21 db_stop
|
301
|
22 exit 0
|