oops, accidentally committed clear-text password reading last week.
[samba.git] / packaging / SGI / removeswat.sh
1 #! /bin/sh
2 #
3 # remove SWAT deamon from inetd.conf
4 #
5 cp /etc/inetd.conf /etc/inetd.O
6 sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.O > /etc/inetd.conf
7
8 #
9 # remove SWAT service port from /etc/services
10 #
11 cp /etc/services /etc/services.O
12 sed -e "/^swat/D" -e "/^#SWAT/D" /etc/services.O > /etc/services
13
14 #
15 # restart inetd to reread config files
16 #
17 /etc/killall -HUP inetd