#!/bin/sh # # Index to debian sources. They are found in # RSYNC_MATCH/RSYNC_BASEDIR/RSYNC_SOURCE [0..$MAXSOURCE] # MAXSOURCE=2 # # This are the rsync sources to fetch from # RSYNC_MATCH[0]=/debian-non-US/ RSYNC_BASEDIR[0]=/home/jbglaw/debian-mirror/debian-non-US/ RSYNC_SOURCE[0]=ftp.rfc822.org::debian-non-US/ RSYNC_MATCH[1]=/debian-security/ RSYNC_BASEDIR[1]=/home/jbglaw/debian-mirror/debian-security/ RSYNC_SOURCE[1]=ftp.rfc822.org::debian-security/ RSYNC_MATCH[${MAXSOURCE}]=/debian/ RSYNC_BASEDIR[${MAXSOURCE}]=/home/jbglaw/debian-mirror/debian/ RSYNC_SOURCE[${MAXSOURCE}]=ftp.rfc822.org::debian/ # # DEBUG=yes will activate debugging. If it is unset, no debugging # will take place. Everything else is illegal. # DEBUG=yes #unset DEBUG # # Serve volatile files (Packages, Sources, Release) this long # (in minutes) before we try to re-rsync them # RE_RSYNC=10 # # If OFFLINE is set to "yes", *no* files will ever be fetched. # This includes that volatile files are no loger updated. # # OFFLINE=yes unset OFFLINE