summaryrefslogtreecommitdiffstats
path: root/base/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre
diff options
context:
space:
mode:
Diffstat (limited to 'base/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre')
-rwxr-xr-xbase/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre23
1 files changed, 0 insertions, 23 deletions
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
index 7b89c97..0000000
--- a/base/all/root/scripts/cluster_configure/templates/rhel/43.openssh-server/4.3#/events/pre
+++ /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