#!/bin/bash # local debian mirror script by palacsint # based on bobek's script # 2006. 06. ### # 2006-os kulcs leszedéséhez: ## # .gnupg/gpg.conf -ba: # keyserver hkp://wwwkeys.eu.pgp.net # # futtatni: (a mirrort keszito userrel) # # gpg --recv-keys 2D230C5F ### ##proxyhoz --proxy=http://10.0.0.1:3128/ DEFOPTS="--progress --verbose --passive --cleanup --method=http \ --arch=i386 --nosource --ignore-missing-release" RD=/mnt/data3/linux/mirror LOG=$RD/debian.resyncdate echo Kezdes: > $LOG; date >> $LOG debmirror $DEFOPTS --host=ftp.fsn.hu --getcontents --dist=sarge $RD/debian >> $LOG echo "Az utolso tukor-szikronizacio ekkor fejezodott be:" >> $LOG; date >> $LOG LOG=$RD/debian-security.resyncdate echo Kezdes: > $LOG; date >> $LOG debmirror $DEFOPTS --host=security.debian.org --root=debian-security \ --section=main,contrib,non-free --dist=sarge/updates $RD/debian-security >> $LOG echo "Az utolso tukor-szikronizacio ekkor fejezodott be:" >> $LOG; date >> $LOG