From: Florian Eckert Date: Fri, 29 Jul 2016 06:21:23 +0000 (+0200) Subject: luci-mod-admin-full: make diagnostics url customizable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F766%2Fhead;p=project%2Fluci.git luci-mod-admin-full: make diagnostics url customizable Signed-off-by: Florian Eckert --- diff --git a/modules/luci-base/root/etc/config/luci b/modules/luci-base/root/etc/config/luci index baa3ac5d1e..a443742f93 100644 --- a/modules/luci-base/root/etc/config/luci +++ b/modules/luci-base/root/etc/config/luci @@ -22,3 +22,8 @@ config internal ccache option enable 1 config internal themes + +config internal 'diag' + option ping 'dev.openwrt.org' + option route 'dev.openwrt.org' + option dns 'dev.openwrt.org' 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 index 685082a335..90d7117175 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm @@ -63,7 +63,7 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6")
-
+
<% if has_ping6 then %>
+
<% if has_traceroute6 then %>
+