close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
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 a06dbac was
2338c95f,
checked in by ramon <ramongomez@…>, 15 years ago
|
|
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
|
-
Property mode set to
100755
|
|
File size:
676 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | # Script de ejemplo para enviar eco a la consola remota al ejecutar un comando de la shell |
|---|
| 3 | # Formato: remoteConsole |
|---|
| 4 | |
|---|
| 5 | PROG="$(basename $0)" |
|---|
| 6 | if [ $# -ne 0 ]; then |
|---|
| 7 | ogRaiseError $OG_ERR_FORMAT "$MSG_FORMAT: $PROG " |
|---|
| 8 | exit $? |
|---|
| 9 | fi |
|---|
| 10 | |
|---|
| 11 | # Directorio del servidor donde se exportan los ficheros de registro. |
|---|
| 12 | SERVERLOGDIR=$(mount | awk -v d=$OGLOG ' |
|---|
| 13 | BEGIN {FS="[: ]"} |
|---|
| 14 | {if ($4==d) dir=$2} |
|---|
| 15 | END {print dir}') |
|---|
| 16 | |
|---|
| 17 | # Fichero de listado: hard-IP |
|---|
| 18 | ECOFILE="eco-$(ogGetIpAddress)" |
|---|
| 19 | # Redirigir salida al fichero de listado. |
|---|
| 20 | /tmp/_hidrascript_ >$OGLOG/$ECOFILE || exit $? |
|---|
| 21 | # Salida: camino del fichero de listado en el servidor de repositorio. |
|---|
| 22 | echo $SERVERLOGDIR/$ECOFILE |
|---|
Note: See
TracBrowser
for help on using the repository browser.