Last change
on this file since 12908 was 12908, checked in by rick, 11 years ago |
This nastly hack will make sure that the WL portal behind thttpd does not get overloaded by too many requests, causing memory starvetion which kills other processes, since it is not running in protected mode.
|
-
Property svn:executable
set to
*
|
File size:
211 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # Only purpose is to send somebody to the Captive Portal
|
---|
4 | #
|
---|
5 | URL=${URL:-http://172.31.255.1/wlportal}
|
---|
6 |
|
---|
7 | # Send information to client
|
---|
8 | echo -e "HTTP/1.1 302 OK\r"
|
---|
9 | echo -e "Location: $URL\r"
|
---|
10 | echo -e "\r"
|
---|
11 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.