Role network-batman: deactivate batman gw mode for non gateways

This commit is contained in:
Tobias Hachmer 2018-09-14 09:52:53 +02:00 committed by Julian Labus
parent 91faee33a4
commit 00551d452a
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -12,4 +12,4 @@ iface {{ item.id }}bat
post-up /usr/sbin/batctl -m $IFACE it {{ item.batman.it }}
post-up /usr/sbin/batctl -m $IFACE mm {{ item.batman.mm }}
post-up /usr/sbin/batctl -m $IFACE dat {{ item.batman.dat }}
{% if ffmwu_server_type == 'gateway' %} post-up /usr/sbin/batctl -m $IFACE gw {{ item.batman.gw }}{% endif %}
post-up /usr/sbin/batctl -m $IFACE gw {% if ffmwu_server_type == 'gateway' %}{{ item.batman.gw }}{% else %}off{% endif %}