summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-05-09 15:47:19 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-05-10 03:26:14 +0200
commitfb4eba0c944a5ca43d25ceb0d723c3c3e38dd70a (patch)
tree3e3505cf7abe39adafcb251d393f37be14b28c7f /packaging
parent4ed1bfb9f854ce5d50e670d17d188745ed26edd3 (diff)
downloadsamba-fb4eba0c944a5ca43d25ceb0d723c3c3e38dd70a.tar.gz
packaging: Remove setup script for SWAT
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/Example/setup.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/packaging/Example/setup.sh b/packaging/Example/setup.sh
deleted file mode 100755
index 7fd8fc41105..00000000000
--- a/packaging/Example/setup.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# Note: This file MUST be edited to suit the target OS environment.
-#
-
-echo "Setting up for SWAT - The Samba Web Administration Tool"
-
-echo 'swat 901/tcp' >> /etc/services
-uniq /etc/services /tmp/tempserv
-cp /tmp/tempserv /etc/services
-rm /tmp/tempserv
-echo 'swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat' >> /etc/inetd.conf
-uniq /etc/inetd.conf /tmp/tempinetd
-cp /tmp/tempinetd /etc/inetd.conf
-rm /tmp/tempinetd
-echo "Creating Symbolic Links for Start up Scripts"
-cp -f samba.init /sbin/init.d
-chown bin.bin /sbin/init.d/samba.init
-chmod 750 /sbin/init.d/samba.init
-ln -sf /sbin/init.d/samba.init /sbin/rc0.d/K01samba
-ln -sf /sbin/init.d/samba.init /sbin/rc2.d/K91samba
-ln -sf /sbin/init.d/samba.init /sbin/rc3.d/S91samba
-echo "Done. Now settting up samba command"
-ln /sbin/init.d/samba.init /sbin/samba
-echo "Done."
-echo "To start / stop samba:"
-echo " execute: samba [start | stop]"