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:
parent
c9b2f20efc
commit
73106d9bae
17
packaging/SGI/removeswat.sh
Executable file
17
packaging/SGI/removeswat.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user