From f7f8225d1f1d8937b9358bc4bdad1b55eb74f9bd Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 30 Jun 2012 16:49:45 +0200 Subject: [PATCH] allow setting gps from aliases.json --- nodedb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nodedb.py b/nodedb.py index bc44002..2c79ed3 100644 --- a/nodedb.py +++ b/nodedb.py @@ -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'])