diff options
author | Jan Huwald <jh@sotun.de> | 2012-03-30 11:32:01 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-03-30 11:32:01 (GMT) |
commit | 84649be9f2e0f42d039f1ac422a63c9edaf78a8d (patch) | |
tree | 18bada03dde120e5f6559a38f8d2fda1fc1bf47e /files/common/etc | |
parent | ba08eb8e76f10b01a7c244b6818c0c09588314f7 (diff) |
adapt splash and robinson redirection to new webif
Diffstat (limited to 'files/common/etc')
-rwxr-xr-x | files/common/etc/fsm/inetable/trans/queen.enter | 2 | ||||
-rwxr-xr-x | files/common/etc/fsm/inetable/trans/robinson.enter | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/common/etc/fsm/inetable/trans/queen.enter b/files/common/etc/fsm/inetable/trans/queen.enter index 9753a81..a7c5539 100755 --- a/files/common/etc/fsm/inetable/trans/queen.enter +++ b/files/common/etc/fsm/inetable/trans/queen.enter @@ -54,7 +54,7 @@ set dhcp.mesh.end_ip=$dhcp_end ## set splash # start redirection httpd (for splash), add GW IP to the addrs service # httpd listens on -echo "http://$gwip/cgi-bin/splash? /sbin/urlencode" > /tmp/redirection_target +echo "http://$gwip/cgi-bin/splash.html? /sbin/urlencode" > /tmp/redirection_target enable_httpd redirection $gwip:81 change_service_httpd_listen $gwip:80 /etc/init.d/uhttpd restart diff --git a/files/common/etc/fsm/inetable/trans/robinson.enter b/files/common/etc/fsm/inetable/trans/robinson.enter index 42e97cb..38ae604 100755 --- a/files/common/etc/fsm/inetable/trans/robinson.enter +++ b/files/common/etc/fsm/inetable/trans/robinson.enter @@ -38,7 +38,7 @@ set dhcp.fakedns.name='#' batctl gw off # start redirection httpd, add robinson IP to service httpd -echo "http://$randip/robinson.html" > /tmp/redirection_target +echo "http://$randip/" > /tmp/redirection_target enable_httpd redirection $randip:81 change_service_httpd_listen $randip:80 /etc/init.d/uhttpd restart |