aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamd/pkg-deinstall
blob: 5de9b4dd396539888f92822f6b739300c7473068 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# ex:ts=4:sw=4:noet
#-*- mode: makefile; tab-width: 4; -*-
#
# $FreeBSD$

if [ "$2" = "DEINSTALL" ]; then
    FILE="/etc/services"
    echo "===>   Removing spamd entries from ${FILE}"
    sed -i '' \
        -e "/^spamd-sync.*8025/d" \
        -e "/^spamd-cfg.*8026/d" \
        -e "/^spamd.*8025/d" \
        ${FILE}
fi