diff options
| author | Jan Huwald <jh@sotun.de> | 2012-03-30 11:32:01 (GMT) | 
|---|---|---|
| committer | Jan Huwald <jh@sotun.de> | 2012-03-30 11:32:01 (GMT) | 
| commit | 84649be9f2e0f42d039f1ac422a63c9edaf78a8d (patch) | |
| tree | 18bada03dde120e5f6559a38f8d2fda1fc1bf47e /files/common/www/service/cgi-bin/splash.html | |
| parent | ba08eb8e76f10b01a7c244b6818c0c09588314f7 (diff) | |
adapt splash and robinson redirection to new webif
Diffstat (limited to 'files/common/www/service/cgi-bin/splash.html')
| -rwxr-xr-x | files/common/www/service/cgi-bin/splash.html | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/files/common/www/service/cgi-bin/splash.html b/files/common/www/service/cgi-bin/splash.html new file mode 100755 index 0000000..b8c8264 --- /dev/null +++ b/files/common/www/service/cgi-bin/splash.html @@ -0,0 +1,7 @@ +#!/bin/sh +echo -en "Status: 200 OK\r\n" +echo -en "Content-Type: text/html\r\n" +echo -en "\r\n" + +targeturl="$(echo "$QUERY_STRING" | tr -d '/')" +sed "s/targeturl/$targeturl/g" index.html  | 
