mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-11-01 06:21:40 +08:00 
			
		
		
		
	luci-mod-network: mark the ignore flag as dnsmasq-only
And also hide the flag if dnsmasq isn't installed. Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
		 David Härdeman
					David Härdeman
				
			
				
					committed by
					
						 Paul Donald
						Paul Donald
					
				
			
			
				
	
			
			
			 Paul Donald
						Paul Donald
					
				
			
						parent
						
							563d90cfb9
						
					
				
				
					commit
					3feda7487c
				
			| @ -702,7 +702,10 @@ return view.extend({ | ||||
| 						]); | ||||
| 					}; | ||||
|  | ||||
| 					ss.taboption('general', form.Flag, 'ignore', _('Ignore interface'), _('Disable <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> for this interface.')); | ||||
| 					if (L.hasSystemFeature('dnsmasq')) { | ||||
| 						ss.taboption('general', form.Flag, 'ignore', _('Ignore interface'), | ||||
| 							     _('Disable <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> for this interface (dnsmasq only).')); | ||||
| 					} | ||||
|  | ||||
| 					if (protoval == 'static') { | ||||
| 						if (L.hasSystemFeature('odhcpd')) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user