ffmap-backend/mkmap.sh

7 lines
615 B
Bash
Raw Normal View History

2015-11-30 20:00:15 +01:00
#!/bin/bash
2015-12-01 19:29:57 +01:00
FFMAPPATH='/opt/ffmap-backend/'
2015-11-30 20:00:15 +01:00
PEERS="/etc/fastd/ffhh-mesh-vpn/peers"
2015-12-01 19:29:57 +01:00
python2 $FFMAPPATH/generate_aliases.py $PEERS > $FFMAPPATH/aliases.json
python3 $FFMAPPATH/backend.py -d /var/www/meshviewer/ --aliases $FFMAPPATH/aliases.json $FFMAPPATH/gateway.json -m bat0:/var/run/alfred.sock -p 30 --vpn de:ad:be:ff:01:01 --vpn de:ad:be:ff:05:05 --vpn de:ad:be:ff:05:06 --vpn de:ad:be:ff:03:03 --vpn de:ad:be:ff:22:22 --vpn de:ad:be:ff:22:23 --vpn de:ad:be:ff:88:88 --vpn de:ad:be:ff:88:89 --vpn de:ad:bf:ff:88:88 --vpn de:ad:bf:ff:22:22 --vpn de:ad:bf:ff:03:03 --vpn de:ad:bf:ff:05:05 --vpn de:ad:bf:ff:01:01