allow setting gps from aliases.json

This commit is contained in:
Nils Schneider 2012-06-30 16:49:45 +02:00
parent a10ad4baf2
commit f7f8225d1f

View file

@ -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'])