gluon-web-network: make mesh and client role exclusive
This commit is contained in:
		
							parent
							
								
									cbe49cb9a4
								
							
						
					
					
						commit
						b3eb380e6f
					
				@ -119,6 +119,7 @@ uci:foreach('gluon', 'interface', function(config)
 | 
				
			|||||||
	ifaces:value('mesh', 'Mesh')
 | 
						ifaces:value('mesh', 'Mesh')
 | 
				
			||||||
	ifaces:value('client', 'Client')
 | 
						ifaces:value('client', 'Client')
 | 
				
			||||||
	ifaces:exclusive('uplink', 'client')
 | 
						ifaces:exclusive('uplink', 'client')
 | 
				
			||||||
 | 
						ifaces:exclusive('mesh', 'client')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ifaces.default = config.role
 | 
						ifaces.default = config.role
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user