1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/biffer/pkg-deinstall
Steve Price 05af8da9f1 Initial import of biffer version 1.0.
A better mail notification server.

PR:		13906
Submitted by:	John Sellens <jsellens@generalconcepts.com>
1999-11-01 03:26:37 +00:00

15 lines
416 B
Bash

#!/bin/sh
if [ x$2 != xDEINSTALL ]; then
exit
fi
echo "Removing biffer from /etc/services ..."
cp /etc/services /etc/services.bak
egrep -v '^biffer' /etc/services.bak > /etc/services
echo "Removing biffer and biffer_comsat from /etc/inetd.conf ..."
cp /etc/inetd.conf /etc/inetd.conf.bak
egrep -v '^biffer' /etc/inetd.conf.bak | egrep -v \
'^comsat[[:space:]]+.*[[:space:]]+biffer_comsat' > /etc/inetd.conf