#!/bin/sh # # Only purpose is to send somebody to the Captive Portal # URL=${URL:-http://welcome.wleiden.net/portal/} # Send information to client echo -e "HTTP/1.1 302 OK\r" echo -e "Location: $URL\r" echo -e "Content-Type: text/html\r" echo -e "Cache-Control: no-cache, no-store, must-revalidate\r" echo -e "Pragma: no-cache\r" echo -e "Expires: 0\r" echo -e "\r"