diff --git a/files/usr/lib/lua/aredn/html.lua b/files/usr/lib/lua/aredn/html.lua
index 00e39bca..3852983e 100644
--- a/files/usr/lib/lua/aredn/html.lua
+++ b/files/usr/lib/lua/aredn/html.lua
@@ -158,10 +158,10 @@ function html.navbar_admin(selected)
html.print("
")
end
-function html.wait_for_reboot(delay)
+function html.wait_for_reboot(delay, countdown)
html.print([[
]])
@@ -231,7 +248,7 @@ function html.reboot()
html.print("http://" .. node .. ".local.mesh:8080/ ")
else
html.header(node .. " rebooting", false)
- html.wait_for_reboot(20)
+ html.wait_for_reboot(20, 120)
html.print("
")
html.print("" .. node .. " is rebooting ")
html.print("Your browser should return to this node after it has rebooted. ")
@@ -240,6 +257,7 @@ function html.reboot()
if node ~= "Node" then
html.print("orhttp://" .. node .. ".local.mesh:8080/ ")
end
+ html.print(" ")
end
html.print("