summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-28 16:51:57 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-28 16:51:57 +0100
commit2d67be7b5cefd83acd188f640d7b3a582f8b45ea (patch)
tree46f5153cc3d2a9286b9ada277bb420f35e89d1dc /bin/runmirrors
parentf59c7cea77737a2ff5e8c14ab42dc8d6a55d693f (diff)
runmirrors
add two seperators between initial setup, config values and code. Signed-off-by: Joerg Jaspert <joerg@debian.org>
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