From 01f117b55cca234d2f4a1a6eb55f7fb0744a8022 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 13 May 2013 10:41:01 +0000 Subject: #535 Creación de metadata de los ficheros-imágenes. Cambio del tamaño "piece size" de 262144 a -l 4194304 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.0@3780 a21b9725-9963-47de-94b9-378ad31fedc9 --- repoman/bin/torrent-creator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repoman/bin/torrent-creator b/repoman/bin/torrent-creator index 61765ed5..452e7eeb 100755 --- a/repoman/bin/torrent-creator +++ b/repoman/bin/torrent-creator @@ -46,7 +46,7 @@ for IMG in *.{img,pgz}; do rm -f "$TORRENT" "$SUMFILE" DATASUM=$(tail -c1M "$IMG" | md5sum -b | cut -f1 -d" ") echo $DATASUM > "$SUMFILE" - nice -8 ctorrent -t "$IMG" -u $TRACKERURL -s "$TORRENT" -c $DATASUM 2>/dev/null + nice -8 ctorrent -t "$IMG" -u $TRACKERURL -s "$TORRENT" -c $DATASUM -l 4194304 2>/dev/null rm -f "$LOCKFILE" if [ -f "$TORRENT" ]; then echo "`date` : Fin creación de fichero $TORRENT" >> $LOGFILE -- cgit v1.2.3-18-g5258