Mercurial > noffle
view debian/prerm @ 416:fbdcd908aa7c noffle
[svn] fixed udpate-inetd
author | godisch |
---|---|
date | Fri, 20 Jun 2003 06:46:49 +0100 |
parents | a7dbefcafc43 |
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