mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
For dnsmasq, feature detection is currently supported like this:
L.hasSystemFeature('dnsmasq', 'dhcpv6')
while for odhcpd, only a basic check is supported:
L.hasSystemFeature('odhcpd')
With this patch, a similar feature check is also possible for odhcpd,
e.g.:
L.hasSystemFeature('odhcpd', 'dhcpv6')
Signed-off-by: David Härdeman <david@hardeman.nu>