From 80bfbfd72c2a8929fd8e8dff96b22bf26cfabe8e Mon Sep 17 00:00:00 2001 From: Darkeye Date: Tue, 22 Feb 2011 15:13:01 +0100 Subject: Add Debug CGi (routerip/cgi-bin/debug) diff --git a/files/www/cgi-bin/debug b/files/www/cgi-bin/debug new file mode 100755 index 0000000..14d8447 --- /dev/null +++ b/files/www/cgi-bin/debug @@ -0,0 +1,26 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" + +echo "" +echo "

Router Status

" +echo "

Batman-ADV

" +echo "
"
+batctl tg | cat
+batctl tl |cat
+echo "
" +echo "

Netzwerk

" +echo "
"
+ifconfig | cat
+echo "
" +echo "

Prozesse

" +echo "
"         
+ps aux | cat       
+echo "
" +echo "

UCI

" +echo "
"         
+uci show | cat       
+echo "
" +echo "" + -- cgit v0.10.1