2 local http = require
"luci.http"
3 local dsp = require
"luci.dispatcher"
4 local ip = require
"luci.model.uci".inst:get(
"network",
"lan",
"ipaddr")
5 local url = (http.getenv(
"HTTPS") and
"https" or
"http") ..
"://" .. ip ..
9 <div style=
"color: red">Warning! The device IP-address has been changed.
<br />
10 It will be available in a few seconds at
<a href=
"<%=url%>"><%=url%
></a></div>