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
Line | |
---|
1 | #!/bin/bash |
---|
2 | OGLOGSESSION=${OGLOGSESSION:-"/tmp/session.log"} |
---|
3 | echo "Content-type: text/html" |
---|
4 | echo "" |
---|
5 | echo "<html><head>" |
---|
6 | echo " <meta charset='utf-8'>" |
---|
7 | echo " <meta http-equiv='Refresh' content='5,URL=./LogSession.sh'>" |
---|
8 | echo " <title>Bash as CGI</title>" |
---|
9 | |
---|
10 | echo "<style type='text/css'>" |
---|
11 | echo "<!--" |
---|
12 | echo "TEXTAREA {" |
---|
13 | echo "background-color: navy;" |
---|
14 | echo "border: black 2px solid;" |
---|
15 | echo "color: white;" |
---|
16 | echo "font-family: arial, verdana, ms sans serif;" |
---|
17 | echo "font-size: 8pt;" |
---|
18 | echo "font-weight: normal" |
---|
19 | echo "} " |
---|
20 | echo "-->" |
---|
21 | echo "</style>" |
---|
22 | |
---|
23 | echo "</head><body>" |
---|
24 | |
---|
25 | echo "<TEXTAREA NAME='contenido' ROWS='115' COLS='175' >" |
---|
26 | uniq $OGLOGSESSION |
---|
27 | echo "</TEXTAREA>" |
---|
28 | |
---|
29 | echo "</body></html>" |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.