allow setting gps from aliases.json

alfred-data
Nils Schneider 2012-06-30 16:49:45 +02:00
parent a10ad4baf2
commit f7f8225d1f
1 changed files with 3 additions and 0 deletions

View File

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