diff options
author | egon_ffj <egon@freifunk-jena.de> | 2012-04-03 08:19:16 (GMT) |
---|---|---|
committer | egon_ffj <egon@freifunk-jena.de> | 2012-04-03 08:19:16 (GMT) |
commit | cb325e4a9c3efab9155a8420e4c583c541c326c8 (patch) | |
tree | 1adaaebb0461891af213fcddec7ee523ddb5e1bf /files/common/www/service/cgi-bin/splash.html | |
parent | e3416a9c5bbe53907523c03cfb210b3226fe9898 (diff) | |
parent | ed72d266b3bf9ad6332ce56dfb304a6507b0f2c9 (diff) |
Merge branch 'plugnpray' of git://git.freifunk-jena.de/freifunk/ffj-buildroot-v2 into plugnpray
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 |