You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
311 B
Plaintext

#!/bin/bash
{% if item.wireguard_mesh_peers %}
{% for peer in item.wireguard_mesh_peers %}
7 years ago
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 %}
{% endif %}