summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/root/etc/uci-defaults
diff options
context:
space:
mode:
authorEric Luehrsen <ericluehrsen@hotmail.com>2017-09-05 00:05:58 -0400
committerEric Luehrsen <ericluehrsen@hotmail.com>2017-09-12 21:04:52 -0400
commit007b28ddb30b9617f6c2eab40cbc7e614d7595ac (patch)
treef2a83d092e8b65eaf0bf37488b293f75728bb8b5 /applications/luci-app-unbound/root/etc/uci-defaults
parent4a95fd94239a69fc8c56e34e59339ee55cfb3d62 (diff)
luci-app-unbound: add statistics and manual edit tabs
Add an option to "Basic Settings" tab to expand LuCI. This option will add tab hierarchy for the settings, statistics, and raw view or editing of configuration files. If you have unbound-control installed, then you can see some useful debug information. Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'applications/luci-app-unbound/root/etc/uci-defaults')
-rw-r--r--applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound13
1 files changed, 0 insertions, 13 deletions
diff --git a/applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound b/applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound
index cc714ac53e..c2ac8c93b6 100644
--- a/applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound
+++ b/applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound
@@ -8,18 +8,5 @@ uci -q batch <<-EOF >/dev/null
EOF
rm -f /tmp/luci-indexcache
-[ ! -x /usr/sbin/unbound-control ] && exit 0
-
-uci -q batch <<-EOF >/dev/null
- set luci.unboundhosts=command
- set luci.unboundhosts.name='Unbound Local Hosts'
- set luci.unboundhosts.command='unbound-control -c /var/lib/unbound/unbound.conf list_local_data'
- set luci.unboundzones=command
- set luci.unboundzones.name='Unbound Local Zones'
- set luci.unboundzones.command='unbound-control -c /var/lib/unbound/unbound.conf list_local_zones'
- commit luci
-EOF
-
-rm -f /tmp/luci-indexcache
exit 0