reboot.htm 615 B

123456789101112131415161718
  1. <%#
  2. Copyright 2008 Steven Barth <steven@midlink.org>
  3. Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
  4. Copyright 2012 Daniel Golle <dgolle@allnet.de>
  5. Licensed to the public under the Apache License 2.0.
  6. -%>
  7. <%+header%>
  8. <h2 name="content"><%:System%></h2>
  9. <h3><%:Reboot%></h3>
  10. <p><%:Reboots the operating system of your device%></p>
  11. <%- if not reboot then -%>
  12. <p><a href="<%=controller%>/failsafe/reboot?reboot=1"><%:Perform reboot%></a></p>
  13. <%- else -%>
  14. <p><%:Please wait: Device rebooting...%></p>
  15. <script type="text/javascript">setTimeout("location='<%=controller%>'", 60000)</script>
  16. <%- end -%>
  17. <%+footer%>