summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-12-20 13:06:32 +0000
committerramon <ramongomez@us.es>2017-12-20 13:06:32 +0000
commitad6f82dd54cd2fa2fe79d460e72805a20b43510d (patch)
tree95f74feac4d0018967882ba2f812b0c4346ea12b
parent4d06fd4b688c1c70c8f5fc3e527a79ae29519054 (diff)
#730: Corregir erratas para mostrar mensajes traducidos en log histórico y evitar que se generen mensajes de error por variable no asignada durante el sondeo de estados.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5540 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r--admin/WebConsole/principal/sondeo.php1
-rwxr-xr-xclient/shared/lib/httpd/httpd-log.sh5
-rwxr-xr-xclient/shared/lib/httpd/httpd-runengine.sh1
3 files changed, 4 insertions, 3 deletions
diff --git a/admin/WebConsole/principal/sondeo.php b/admin/WebConsole/principal/sondeo.php
index 7b8ea346..cc63ec60 100644
--- a/admin/WebConsole/principal/sondeo.php
+++ b/admin/WebConsole/principal/sondeo.php
@@ -51,6 +51,7 @@
//________________________________________________________________________________________________________
$resul=false;
$trama="";
+ $trama_notificacion="";
$shidra=new SockHidra($servidorhidra,$hidraport);
if ($shidra->conectar()){ // Se ha establecido la conexión con el servidor hidra
$parametros="nfn=".$funcion.chr(13);
diff --git a/client/shared/lib/httpd/httpd-log.sh b/client/shared/lib/httpd/httpd-log.sh
index d357a6ed..4dce863f 100755
--- a/client/shared/lib/httpd/httpd-log.sh
+++ b/client/shared/lib/httpd/httpd-log.sh
@@ -1,13 +1,12 @@
-
#!/bin/bash
+
echo "Content-type: text/html"
echo ""
-#echo "<html><head><meta http-equiv='Refresh' content='2,URL=./example3.sh'><title>Bash as CGI"
echo "<html><head><title>OpenGnsys Client</title>"
echo " <meta charset='utf-8'>"
echo "</head><body>"
-echo "<h1> $(./httpd-runengine.sh 'ogEcho $MSG_HTTPLOG_NOUSE' ) .</br>host $(hostname -s)</h1> "
+echo "<h1> $(./httpd-runengine.sh 'ogEcho $MSG_HTTPLOG_NOUSE').</br>host $(hostname -s)</h1> "
echo "<IFRAME SRC='bandwidth.sh' WIDTH=250 HEIGHT=90> <A HREF="bandwidth.sh">link</A> </IFRAME> "
echo "<IFRAME SRC='cache.sh' WIDTH=590 HEIGHT=90><A HREF="cache.sh">link</a> </IFRAME><br>"
diff --git a/client/shared/lib/httpd/httpd-runengine.sh b/client/shared/lib/httpd/httpd-runengine.sh
index aa145078..a3fc3e66 100755
--- a/client/shared/lib/httpd/httpd-runengine.sh
+++ b/client/shared/lib/httpd/httpd-runengine.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
# Exportar parámetros del kernel.
for i in $(cat /proc/cmdline); do