luci-mod-status: hide DHCP status if dnsmasq/odhcpd aren't present
authorJo-Philipp Wich <jo@mein.io>
Sun, 23 Feb 2020 20:12:54 +0000 (21:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 23 Feb 2020 20:14:10 +0000 (21:14 +0100)
commit02c68f2838197e4eff63c61a89e60164ba3faa1f
tree9d4242ea0ac3d35b1cd6eb1f89dc29cde3db5586
parent087e6acbf49dea80785db4590ebf4b999dee6b95
luci-mod-status: hide DHCP status if dnsmasq/odhcpd aren't present

Fixes: #3674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4efc7cbbda86280343683a7d1c2563233c499550)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/index.js