summaryrefslogtreecommitdiff
path: root/files/common/www/cgi-bin/debug
diff options
context:
space:
mode:
authorKatze Miau <miaukatzemiau@priveasy.de>2011-12-11 15:42:01 (GMT)
committerKatze Miau <miaukatzemiau@priveasy.de>2011-12-11 15:42:01 (GMT)
commit9809a97ce4ac8f5b374c7b1d91b5d4571dbf6392 (patch)
treeb30dbdb81a1b1f446f440a22037b2fc4192bda4e /files/common/www/cgi-bin/debug
parented254615ad04befe9f847879b3d78567c51f673b (diff)
split /www into subdirs for several services; adapt uhttpd config
This patch splits the single uhttpd instance into two uhttpd instances with www root /www/<servicename> for the following purposes: - service :: self-service / debugging / status.xml - redirection :: use for splash/robinson redirection The uhttpd uci config is adapted: by default all instances declared there are disabled; They shall be enabled by the FSM inetable. To this end a listen_http directive will be added and the config type will be changed from 'disabled' to 'uhttpd' by state transition scripts.
Diffstat (limited to 'files/common/www/cgi-bin/debug')
-rwxr-xr-xfiles/common/www/cgi-bin/debug26
1 files changed, 0 insertions, 26 deletions
diff --git a/files/common/www/cgi-bin/debug b/files/common/www/cgi-bin/debug
deleted file mode 100755
index 14d8447..0000000
--- a/files/common/www/cgi-bin/debug
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-echo -en "Status: 200 OK\r\n"
-echo -en "Content-Type: text/html\r\n"
-echo -en "\r\n"
-
-echo "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head></head><body>"
-echo "<h1>Router Status</h1>"
-echo "<h2>Batman-ADV</h2>"
-echo "<pre>"
-batctl tg | cat
-batctl tl |cat
-echo "</pre>"
-echo "<h2>Netzwerk</h2>"
-echo "<pre>"
-ifconfig | cat
-echo "</pre>"
-echo "<h2>Prozesse</h2>"
-echo "<pre>"
-ps aux | cat
-echo "</pre>"
-echo "<h2>UCI</h2>"
-echo "<pre>"
-uci show | cat
-echo "</pre>"
-echo "</body></html>"
-
contact: Jan Huwald // Impressum