918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change
on this file since bd390f1 was
bba08bf,
checked in by adv <adv@…>, 15 years ago
|
trunk Protocolos de clonación:
ogTorrentStart file.torrent opcionesP2P
restoreImage utilizando ogTorrentStart y ogMulticastReceiverFile
sendFileScripts usado por el repo. llamada directa a ogMulticastSendFile
git-svn-id: https://opengnsys.es/svn/trunk@963 a21b9725-9963-47de-94b9-378ad31fedc9
|
-
Property mode set to
100755
|
File size:
949 bytes
|
Rev | Line | |
---|
[bba08bf] | 1 | #!/bin/bash |
---|
| 2 | export OPENGNSYS="${OPENGNSYS:-/opt/opengnsys/client}" |
---|
| 3 | export OGBIN=$OPENGNSYS/bin |
---|
| 4 | export OGETC=$OPENGNSYS/etc |
---|
| 5 | export OGLIB=$OPENGNSYS/lib |
---|
| 6 | export OGAPI=$OGLIB/engine/bin |
---|
| 7 | export OGSCRIPTS=$OPENGNSYS/scripts |
---|
| 8 | export OGIMG=$OPENGNSYS/images |
---|
| 9 | export OGCAC=$OPENGNSYS/cache |
---|
| 10 | export OGLOG=$OPENGNSYS/log |
---|
| 11 | |
---|
| 12 | for i in $OGAPI/*.lib; do |
---|
| 13 | . $i |
---|
| 14 | done |
---|
| 15 | |
---|
| 16 | if [ "$engine" = "testing" ] |
---|
| 17 | then |
---|
| 18 | for i in $OGAPI/*.testing; do |
---|
| 19 | . $i |
---|
| 20 | done |
---|
| 21 | fi |
---|
| 22 | |
---|
| 23 | export OG_ERR_FORMAT=1 # Formato de ejecución incorrecto. |
---|
| 24 | export OG_ERR_NOTFOUND=2 # Fichero o dispositivo no encontrado. |
---|
| 25 | export OG_ERR_PARTITION=3 # Error en partición de disco. |
---|
| 26 | export OG_ERR_LOCKED=4 # Partición o fichero bloqueado. |
---|
| 27 | export OG_ERR_IMAGE=5 # Error al crear o restaurar una imagen. |
---|
| 28 | export OG_ERR_NOTOS=6 # Sin sistema operativo. |
---|
| 29 | export OG_ERR_NOTEXEC=7 # Programa o función no ejecutable. |
---|
| 30 | |
---|
| 31 | ogMcastSendFile $1 $2 |
---|
Note: See
TracBrowser
for help on using the repository browser.