summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-28 22:33:42 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-28 22:33:42 +0100
commit49607174263e88a82d16d131bf4ea3cac71d5c91 (patch)
treee22463e4861d27521794905d8a339111821fab2e
parent05c7958f9f9dd12d5f802d679d69c651699f23b3 (diff)
runmirrors
two new options in the array Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-xbin/runmirrors20
1 files changed, 11 insertions, 9 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index 23c2e32..60471d6 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -231,15 +231,17 @@ while read MTYPE MLNAME MHOSTNAME MUSER MSSHOPT; do
# Built our array
SIGNAL_OPTS=(
- MIRROR="${MLNAME}"
- HOSTNAME="${MHOSTNAME}"
- USERNAME="${MUSER}"
- SSHPROTO="${MPROTO}"
- SSHKEY="${MKEYFILE}"
- SSHOPTS="${SSHOPT/ /#}"
- PUSHLOCKOWN="${LOCKDIR}/${MLNAME}.stage1"
- PUSHTYPE="${MTYPE}"
- PUSHARCHIVE=${PUSHARCHIVE}
+ MIRROR="${MLNAME}"
+ HOSTNAME="${MHOSTNAME}"
+ USERNAME="${MUSER}"
+ SSHPROTO="${MPROTO}"
+ SSHKEY="${MKEYFILE}"
+ SSHOPTS="${SSHOPT/ /#}"
+ PUSHLOCKOWN="${LOCKDIR}/${MLNAME}.stage1"
+ PUSHTYPE="${MTYPE}"
+ PUSHARCHIVE=${PUSHARCHIVE}
+ PUSHKIND=${PUSHKIND}
+ FROMFTPSYNC=${FROMFTPSYNC}
)
# And finally, push the mirror