diff options
author | Jan Huwald <jh@sotun.de> | 2012-03-30 11:39:29 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-03-30 11:39:29 (GMT) |
commit | 291850a50ba6e52ee688f103064f6cdd51f17349 (patch) | |
tree | 85fa5ba24d3fdec69b89bf1ab1a700c444a24dd6 | |
parent | 47d00af88515a1ea1d432bc8db5bb47a6b057e22 (diff) |
webif: add debug helper
echos the environment given by uhttpd
-rwxr-xr-x | files/common/www/service/cgi-bin/reflect | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/files/common/www/service/cgi-bin/reflect b/files/common/www/service/cgi-bin/reflect new file mode 100755 index 0000000..79db9f0 --- /dev/null +++ b/files/common/www/service/cgi-bin/reflect @@ -0,0 +1,10 @@ +#!/bin/sh + +echo -e 'Status: 200 OK\r +\r' + +env +echo ================= +cat +echo ======== +pwd |