diff options
author | adv <adv@uma.es> | 2013-05-13 10:41:01 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2013-05-13 10:41:01 +0000 |
commit | 01f117b55cca234d2f4a1a6eb55f7fb0744a8022 (patch) | |
tree | 10900182099306372b1e8412a3b372dae0750e65 /repoman/bin/torrent-creator | |
parent | bafaf21dd6f52804ec5d3bace0be8189d16a6d67 (diff) |
#535 Creación de metadata de los ficheros-imágenes. Cambio del tamaño "piece size" de 262144 a -l 4194304
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3780 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'repoman/bin/torrent-creator')
-rwxr-xr-x | repoman/bin/torrent-creator | 2 |
1 files changed, 1 insertions, 1 deletions
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 |