diff --git a/apps/routerconsole/jsp/configservice.jsp b/apps/routerconsole/jsp/configservice.jsp index 940635a6b..1a3bfe461 100644 --- a/apps/routerconsole/jsp/configservice.jsp +++ b/apps/routerconsole/jsp/configservice.jsp @@ -52,7 +52,7 @@ <% } - if ( (System.getProperty("os.name") != null) && (System.getProperty("os.name").startsWith("Win")) ) { + if (net.i2p.util.SystemVersion.isWindows()) { %>
@@ -60,13 +60,24 @@
<%=intl._t("If you prefer the command line, you can also run the ")%> install_i2p_service_winnt.bat (<%=intl._t("or")%>
uninstall_i2p_service_winnt.bat).
<%=intl._t("Note")%>: <%=intl._t("If you are running I2P as service right now, removing it will shut down your router immediately.")%> <%=intl._t("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%>
- <% } %> - +<% + } + } +%><% if (net.i2p.util.SystemVersion.hasWrapper()) { %> @@ -83,6 +94,7 @@ <% } %> +<% if (!net.i2p.util.SystemVersion.isService()) { %>
<% String consoleURL = formhandler.getConsoleURL(); %> @@ -91,4 +103,6 @@