X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_network%2Fdiagnostics.htm;fp=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_network%2Fdiagnostics.htm;h=0000000000000000000000000000000000000000;hp=03dd5aab29004935cc921147d80732406b978524;hb=58d97b5e271bc0d7507eab5b9bd2902181864e02;hpb=6ec0353201435e0d0d7d32820d8ba600b4ca7b5b diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm deleted file mode 100644 index 03dd5aab29..0000000000 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm +++ /dev/null @@ -1,117 +0,0 @@ -<%# - Copyright 2010 Jo-Philipp Wich - Licensed to the public under the Apache License 2.0. --%> - -<%+header%> - -<% -local fs = require "nixio.fs" -local has_ping6 = fs.access("/bin/ping6") or fs.access("/usr/bin/ping6") -local has_traceroute6 = fs.access("/bin/traceroute6") or fs.access("/usr/bin/traceroute6") - -local dns_host = luci.config.diag and luci.config.diag.dns or "dev.openwrt.org" -local ping_host = luci.config.diag and luci.config.diag.ping or "dev.openwrt.org" -local route_host = luci.config.diag and luci.config.diag.route or "dev.openwrt.org" -%> - - - -
-
-

<%:Diagnostics%>

- -
- <%:Network Utilities%> - -
-
-
-
- <% if has_ping6 then %> - - - - - <% else %> - - <% end %> -
- -
-
- <% if has_traceroute6 then %> - - - - - <% else %> - - <% end %> - <% if not has_traceroute6 then %> -

 

-

<%:Install iputils-traceroute6 for IPv6 traceroute%>

- <% end %> -
- -
-
- -
-
-
-
-
- - -
- -<%+footer%>