aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/examples/server_root/cgi-bin/printenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inets/examples/server_root/cgi-bin/printenv.sh')
-rwxr-xr-xlib/inets/examples/server_root/cgi-bin/printenv.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/inets/examples/server_root/cgi-bin/printenv.sh b/lib/inets/examples/server_root/cgi-bin/printenv.sh
new file mode 100755
index 0000000000..de81de9bde
--- /dev/null
+++ b/lib/inets/examples/server_root/cgi-bin/printenv.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+echo "Content-type: text/html"
+echo ""
+echo "<HTML> <HEAD> <TITLE>OS Environment</TITLE> </HEAD> <BODY><PRE>"
+env
+echo "</PRE></BODY></HTML>" \ No newline at end of file