gluon-web-network: make roles "uplink" / "mesh" and "client" exclusive
This commit is contained in:
parent
7805ff700e
commit
1e21dbcfad
@ -89,6 +89,8 @@ uci:foreach('gluon', 'interface', function(config)
|
||||
ifaces:value('uplink', 'Uplink')
|
||||
ifaces:value('mesh', 'Mesh')
|
||||
ifaces:value('client', 'Client')
|
||||
ifaces:exclusive('uplink', 'client')
|
||||
ifaces:exclusive('mesh', 'client')
|
||||
|
||||
ifaces.default = config.role
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user