From 73106d9baeb325d1d89d0242d0045695a71acf4d Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 25 Nov 1998 18:11:42 +0000 Subject: added file from 2.0 branch (This used to be commit 8ec972ba6c274076b46081502acef256a70d1a38) --- packaging/SGI/removeswat.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 packaging/SGI/removeswat.sh 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 -- cgit