summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-xbin/runmirrors3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index 3a9d943..413738f 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -92,6 +92,7 @@ PUSHKIND=${PUSHKIND:-"all"}
# If we are pushed from within ftpsync. Default false.
FROMFTPSYNC=${FROMFTPSYNC:-"false"}
+########################################################################
# Read our config file
. "${BASEDIR}/etc/${NAME}.conf"
@@ -138,6 +139,8 @@ HOOK1=${HOOK1:-""}
HOOK2=${HOOK2:-""}
HOOK3=${HOOK3:-""}
+########################################################################
+
# Some sane defaults
cd ${BASEDIR}
umask 022