allow setting gps from aliases.json
This commit is contained in:
parent
a10ad4baf2
commit
f7f8225d1f
1 changed files with 3 additions and 0 deletions
|
@ -185,6 +185,9 @@ class NodeDB:
|
|||
if 'vpn' in alias and alias['vpn']:
|
||||
node.interfaces[mac].vpn = True
|
||||
|
||||
if 'gps' in alias:
|
||||
node.gps = alias['gps']
|
||||
|
||||
# list of macs
|
||||
# if options['gateway']:
|
||||
# mark_gateways(options['gateway'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue