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