mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-10-31 10:49:03 +08:00 
			
		
		
		
	luci-mod-network: change && to || for DHCP tab predicates
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 <newtwen+github@gmail.com>
			
			
This commit is contained in:
		| @ -67,7 +67,8 @@ | ||||
| 		}, | ||||
| 		"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 } | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Paul Donald
					Paul Donald