- <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and path ~= "admin-system-admin-password" then -%>
+ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>
+
+
<%:No password set!%>
+
<%:There is no password set on this router. Please configure a root password to protect the web interface.%>
+ <%- if disp.lookup("admin/system/admin") then -%>
+