NIU: More pages
[project/luci.git] / modules / niu / luasrc / view / niu / system / reboot.htm
1 Rebooting. Please wait...
2
3 <script type="text/javascript">
4 window.setInterval(function() {
5 var xmlHttp = new XMLHttpRequest();
6 xmlHttp.open('GET', '/', true);
7 xmlHttp.onreadystatechange = function () {
8 if (xmlHttp.readyState == 4 && req.status >= 200 && req.status < 400) {
9 window.location = "/";
10 }
11 };
12 xmlHttp.send(null);
13 }, 10000);
14 </script>