allow setting gps from aliases.json
parent
a10ad4baf2
commit
f7f8225d1f
|
@ -185,6 +185,9 @@ class NodeDB:
|
||||||
if 'vpn' in alias and alias['vpn']:
|
if 'vpn' in alias and alias['vpn']:
|
||||||
node.interfaces[mac].vpn = True
|
node.interfaces[mac].vpn = True
|
||||||
|
|
||||||
|
if 'gps' in alias:
|
||||||
|
node.gps = alias['gps']
|
||||||
|
|
||||||
# list of macs
|
# list of macs
|
||||||
# if options['gateway']:
|
# if options['gateway']:
|
||||||
# mark_gateways(options['gateway'])
|
# mark_gateways(options['gateway'])
|
||||||
|
|
Loading…
Reference in New Issue