Remove bash autocluster script and supporting files
[autocluster.git] / base / all / root / scripts / cluster_configure / templates / rhel / 43.openssh-server / 4.3# / events / pre
diff --git a/base/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre b/base/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre
deleted file mode 100755 (executable)
index 7b89c97..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if service sshd status ; then
-    service sshd stop
-fi
-
-. /etc/sysconfig/sshd
-
-export_dir="${SCP_CHROOT}/exports"
-
-for i in $SCP_EXPORTS ; do
-    b=$(basename "$i")
-    d="${export_dir}/${b}"
-    if [ -d "$d" ] ; then
-       mkchroot.sh umount "$d"
-    fi
-done
-
-if [ -d "$SCP_CHROOT" ] ; then
-    mkchroot.sh destroy "$SCP_CHROOT"
-fi