network: hide dnamsq (dhcp+dns) item

.. when no dnsmasq is installed, as it
tells only that there are no settings available

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
This commit is contained in:
Fritz D. Ansel 2021-08-02 20:22:43 +02:00
parent b5af813318
commit 2393289367

View file

@ -55,6 +55,9 @@
},
"depends": {
"acl": [ "luci-mod-network-dhcp" ],
"fs": {
"/usr/sbin/dnsmasq": "executable"
},
"uci": { "dhcp": true }
}
},