1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/japanese/dserver/files/deinstall.sh.inetd

8 lines
260 B
Plaintext
Raw Normal View History

#!/bin/sh
echo "updating /etc/services"
cp /etc/services /etc/services.bak
(grep -v '\bndtp\b' /etc/services.bak) > /etc/services
echo "updating /etc/inetd.conf"
cp /etc/inetd.conf /etc/inetd.conf.bak
(grep -v '\bndtp\b' /etc/inetd.conf.bak) > /etc/inetd.conf