diff options
author | Herb Lewis <herb@samba.org> | 1998-11-25 18:11:42 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-11-25 18:11:42 +0000 |
commit | 73106d9baeb325d1d89d0242d0045695a71acf4d (patch) | |
tree | 467a2dd54af12ab24b09da547105b0ca6943905e | |
parent | c9b2f20efcb9cd2e93f29928442e9a61360fa5a0 (diff) | |
download | samba-73106d9baeb325d1d89d0242d0045695a71acf4d.tar.gz samba-73106d9baeb325d1d89d0242d0045695a71acf4d.tar.bz2 samba-73106d9baeb325d1d89d0242d0045695a71acf4d.zip |
added file from 2.0 branch
(This used to be commit 8ec972ba6c274076b46081502acef256a70d1a38)
-rwxr-xr-x | packaging/SGI/removeswat.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/SGI/removeswat.sh b/packaging/SGI/removeswat.sh new file mode 100755 index 0000000000..6834b25665 --- /dev/null +++ b/packaging/SGI/removeswat.sh @@ -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 |