Role network-batman: deactivate batman gw mode for non gateways
This commit is contained in:
parent
91faee33a4
commit
00551d452a
1 changed files with 1 additions and 1 deletions
|
@ -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 it {{ item.batman.it }}
|
||||||
post-up /usr/sbin/batctl -m $IFACE mm {{ item.batman.mm }}
|
post-up /usr/sbin/batctl -m $IFACE mm {{ item.batman.mm }}
|
||||||
post-up /usr/sbin/batctl -m $IFACE dat {{ item.batman.dat }}
|
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 %}
|
||||||
|
|
Loading…
Reference in a new issue