Mercurial > noffle
view debian/prerm @ 500:614a3177b15c noffle tip
Add mail-from option.
Some modern mail systems will try and ensure the sender email is a legitimate
address. Which will fail if there isn't such an address.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 14 Aug 2013 12:04:39 +0100 |
parents | 18b3c63bf7dc |
children |
line wrap: on
line source
#!/bin/sh # $Id: prerm 565 2003-06-20 06:35:55Z godisch $ set -e if [ "$1" = remove -o "$1" = deconfigure ]; then port="`grep "/usr/bin/noffle -r" /etc/inetd.conf 2> /dev/null | sed 's/[[:space:]].*$//'`" || true if [ "$port" ]; then update-inetd --disable "$port" fi fi exit 0