diff options
author | ramon <ramongomez@us.es> | 2017-12-20 13:06:32 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-12-20 13:06:32 +0000 |
commit | ad6f82dd54cd2fa2fe79d460e72805a20b43510d (patch) | |
tree | 95f74feac4d0018967882ba2f812b0c4346ea12b /client/shared/lib | |
parent | 4d06fd4b688c1c70c8f5fc3e527a79ae29519054 (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
Diffstat (limited to 'client/shared/lib')
-rwxr-xr-x | client/shared/lib/httpd/httpd-log.sh | 5 | ||||
-rwxr-xr-x | client/shared/lib/httpd/httpd-runengine.sh | 1 |
2 files changed, 3 insertions, 3 deletions
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 |