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: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F766%2Fhead;p=oweals%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 baa3ac5d1..a443742f9 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 685082a33..90d711717 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 %>
+