refs #2850 add cgi error page
parent
bcf69b6bfe
commit
de5d4bc04b
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.7.0] - 2025-09-29
|
||||
|
||||
### Added
|
||||
|
||||
- Add CGI error page
|
||||
|
||||
## [1.6.2] - 2025-09-26
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Content-type: text/html"
|
||||
echo ""
|
||||
echo "<html><head><title>OpenGnsys Client $(/opt/opengnsys/functions/ogGetIpAddress)</title>"
|
||||
echo " <meta charset='utf-8'>"
|
||||
echo "</head><body>"
|
||||
|
||||
echo "<h1>Ocurrió un error durante el arranque del agente</h1>"
|
||||
|
||||
echo "<p>Consulte el log del agente para más información</p>"
|
||||
echo "</body></html>"
|
|
@ -14,4 +14,4 @@ echo "<IFRAME SRC='cache.sh' WIDTH=590 HEIGHT=90><A HREF="cache.sh">link</a>
|
|||
echo "<IFRAME SRC='LogSession.sh' WIDTH=850 HEIGHT=230> <A HREF="LogSession.sh">link</A> </IFRAME>"
|
||||
echo "<IFRAME SRC='LogCommand.sh' WIDTH=850 HEIGHT=280> <A HREF="LogCommand.sh">link</A> </IFRAME>"
|
||||
|
||||
echo "</body>
|
||||
echo "</body></html>"
|
||||
|
|
|
@ -10,5 +10,4 @@ echo "<html><head><title>OpenGnsys Client</title></head><body>"
|
|||
$(wget http://172.17.9.205/opengnsys/varios/menubrowser.php -O /tmp/menu.tmp)
|
||||
echo "$(cat /tmp/menu.tmp)"
|
||||
|
||||
echo "</body>
|
||||
|
||||
echo "</body></html>"
|
||||
|
|
Loading…
Reference in New Issue