diff options
author | ramon <ramongomez@us.es> | 2011-03-02 17:39:59 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-03-02 17:39:59 +0000 |
commit | 2338c95f5ab7569bbce01178ea1426555271e5a4 (patch) | |
tree | d1744759c0d0c578191210f08cab9e71c095b0e9 /client/shared/scripts/deployImage | |
parent | 803bc36238663cda57898d83bc90b7a3d232b60f (diff) |
Rama version1.0:
* Redistribución de directorios para el cliente.
* Modificación del instalador para adaptarse a la nueva estructura de directorios.
* Desinstalador quita los recursos de OpenGnSys en Samba.
* Documentación actualizada para la nueva versión.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1526 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/deployImage')
-rwxr-xr-x | client/shared/scripts/deployImage | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage new file mode 100755 index 00000000..15392ec7 --- /dev/null +++ b/client/shared/scripts/deployImage @@ -0,0 +1,20 @@ +#!/bin/bash + +TIME1=$SECONDS +PROG="$(basename $0)" +if [ $# -lt 4 ]; then + ogRaiseError $OG_ERR_FORMAT "$MSG_FORMAT: $PROG REPO imagen ndisco nparticion [ UNICAST|MULTICAST|TORRENT ] [opciones protocolo]" + exit $? +fi + +#controlar param1 REPO + +updateCache REPO $2.img $5 $6 +if [ $? != "0" ] +then + echo "fin del updateCache REPO $2.img $5 $6 con errores" + exit 1 +else + echo "comenzamos con restoreImage CACHE $2 $3 $4" + restoreImage CACHE $2 $3 $4 +fi
\ No newline at end of file |