#!/bin/sh
#
# Only purpose is to send somebody to the Captive Portal
#
URL=${URL:-http://172.31.255.1/wlportal}

# Send information to client
echo -e "HTTP/1.1 302 OK\r"
echo -e "Location: $URL\r"
echo -e "\r"

