mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
05af8da9f1
A better mail notification server. PR: 13906 Submitted by: John Sellens <jsellens@generalconcepts.com>
15 lines
416 B
Bash
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
|