I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c5b3c2f4 authored by zzz's avatar zzz
Browse files

add restart msg as requested by dr|z3d

parent e46e747a
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,12 @@ public class ConfigRestartBean {
long timeRemaining = ctx.router().getShutdownTimeRemaining();
StringBuilder buf = new StringBuilder(128);
if ((shuttingDown || restarting) && timeRemaining <= 0) {
buf.append("<center><b>").append(_("Shutdown imminent", ctx)).append("</b></center>");
buf.append("<center><b>");
if (restarting)
buf.append(_("Restart imminent", ctx));
else
buf.append(_("Shutdown imminent", ctx));
buf.append("</b></center>");
} else if (shuttingDown) {
buf.append("<center><b>");
buf.append(_("Shutdown in {0}", DataHelper.formatDuration(timeRemaining), ctx));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment