blob: 603208b6f2c70203995fea204be7b8ff3656110c (
plain)
1
2
3
4
5
6
|
#!/bin/bash
{% for peer in item.wireguard_mesh_peers %}
batctl -m bat{{ item.name }} if del mesh{{ item.name }}{{ peer.number }}
ip link set down dev mesh{{ item.name }}{{ peer.number }}
ip link del mesh{{ item.name }}{{ peer.number }} type ip6gretap
{% endfor %}
|