From be5c20195f71ff6187a31b4200ea1f23e1c9b13c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 15 Aug 2008 00:30:39 +0000 Subject: [PATCH] modules/admin-mini: Remove unneeded checks --- modules/admin-mini/luasrc/view/mini/index.htm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/admin-mini/luasrc/view/mini/index.htm b/modules/admin-mini/luasrc/view/mini/index.htm index 52bca45b9e..e00100c18b 100644 --- a/modules/admin-mini/luasrc/view/mini/index.htm +++ b/modules/admin-mini/luasrc/view/mini/index.htm @@ -66,7 +66,6 @@ local iwconfig = luci.sys.wifi.getiwconfig() -<%- if luci.model.uci.get_statevalue("network", "lan", "up") == "1" then %>

<%:m_n_local%>

@@ -79,10 +78,8 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "lan", "netmask")%>
-<%- end %> -<%- if luci.model.uci.get_statevalue("network", "wan", "up") == "1" then %>

<%:m_n_inet%>

@@ -95,7 +92,6 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "wan", "netmask")%>
-<%- end %> <%- if next(iwconfig) then %>

<%:wifi%>

-- 2.30.2