1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

added file from 2.0 branch

(This used to be commit 8ec972ba6c274076b46081502acef256a70d1a38)
This commit is contained in:
Herb Lewis 1998-11-25 18:11:42 +00:00
parent c9b2f20efc
commit 73106d9bae

17
packaging/SGI/removeswat.sh Executable file
View File

@ -0,0 +1,17 @@
#! /bin/sh
#
# remove SWAT deamon from inetd.conf
#
cp /etc/inetd.conf /etc/inetd.O
sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.O > /etc/inetd.conf
#
# remove SWAT service port from /etc/services
#
cp /etc/services /etc/services.O
sed -e "/^swat/D" -e "/^#SWAT/D" /etc/services.O > /etc/services
#
# restart inetd to reread config files
#
/etc/killall -HUP inetd