8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
|
#!/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
|