Each prerequisite inside a { } forms an and condition.
Each {} prerequisite forms an or condition.
The tab wasn't displayed because odhcpd was not installed. The condition set
required both. Now only require one or the other to display the DHCP tab.
Closes #8033
Signed-off-by: Paul Donald <[email protected]>
},
"depends": {
"acl": [ "luci-mod-network-dhcp" ],
- "fs": { "/usr/sbin/odhcpd": "executable", "/usr/sbin/dnsmasq": "executable" },
+ "fs": { "/usr/sbin/odhcpd": "executable" },
+ "fs": { "/usr/sbin/dnsmasq": "executable" },
"uci": { "dhcp": true }
}
},