blob: 92aa7824f8d287463d60a4e668178f9ebd7f5712 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
ip link set $INTERFACE up
ip -6 addr flush dev $INTERFACE
{% for addr in tinc.address %}
ip addr add {{ addr }} dev $INTERFACE
{% endfor %}
{% if tinc.extra_up is defined %}
{% for cmd in tinc.extra_up %}
{{ cmd }}
{% endfor %}
{% endif %}
|