summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-07-13 14:59:35 +0000
committerramon <ramongomez@us.es>2010-07-13 14:59:35 +0000
commit9ee62adb9637e479247e0607b580ee7a030495a7 (patch)
tree9a59c5f1870992480b359f588088b5e1fedec602 /client
parentffac868a6b1838d5d09972c9fdf246c386d56e6d (diff)
Fixes #170 - Ficheros .torrent se crean en el repositorio y no desde el cliente.
git-svn-id: https://opengnsys.es/svn/trunk@1099 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-xclient/nfsexport/scripts/createImage6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/nfsexport/scripts/createImage b/client/nfsexport/scripts/createImage
index 59317ca4..8bde082a 100755
--- a/client/nfsexport/scripts/createImage
+++ b/client/nfsexport/scripts/createImage
@@ -54,12 +54,6 @@ if [ $REDSIZE -lt $SIZE ]; then
ogExtendFs $1 $2
fi
-# Creamos fichero torrent. si REPO tracker=ipREPO, si CACHE tracker=ipLocal
-[ "$3" == "REPO" ] && IPTORRENT=`mount | grep ":/opt/opengnsys/images" | cut -f1 -d:` \
- || IPTORRENT=`ogGetIpAddress`
-echo "[95] Crear torrent $3 $4 $IPTORRENT"
-ogCreateTorrent "$3" "$4" "$IPTORRENT"
-
TIME=$[SECONDS-TIME1]
echo "[100] DuraciĆ³n de la operaciĆ³n $[TIME/60]m $[TIME%60]s"
exit $EXITCODE