diff options
Diffstat (limited to 'files/www/cgi-bin/splash')
-rwxr-xr-x | files/www/cgi-bin/splash | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/files/www/cgi-bin/splash b/files/www/cgi-bin/splash new file mode 100755 index 0000000..2212eba --- /dev/null +++ b/files/www/cgi-bin/splash @@ -0,0 +1,6 @@ +#!/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 | sed -f /etc/urlencode.sed) +sed "s/targeturl/"$targeturl"/g" /www/splash.html |