blob: 29d4fb70605791175560a2adb0f4ed69e09ac405 (
plain)
1
2
3
4
5
6
|
#!/bin/bash
{% for peer in item.wireguard_mesh_peers %}
batctl -m bat0 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 %}
|