summaryrefslogtreecommitdiff
path: root/roles/router/templates/tinc-up.j2
diff options
context:
space:
mode:
authoruvok cheetah2024-03-01 18:36:26 +0100
committeruvok cheetah2024-03-01 18:36:26 +0100
commitbb17d97096e99f0f566a6054146b247eea2bf645 (patch)
tree4bd54738e210f550ca45c034dc57204a61f68217 /roles/router/templates/tinc-up.j2
parent39d57540d76b39c82a9cfe47c8b72c30e64b0e0a (diff)
Split router and tinc config
Diffstat (limited to 'roles/router/templates/tinc-up.j2')
-rwxr-xr-xroles/router/templates/tinc-up.j29
1 files changed, 0 insertions, 9 deletions
diff --git a/roles/router/templates/tinc-up.j2 b/roles/router/templates/tinc-up.j2
deleted file mode 100755
index 8c26aa9..0000000
--- a/roles/router/templates/tinc-up.j2
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-ip link set $INTERFACE up
-ip -6 addr flush dev $INTERFACE
-ip addr add {{ tinc.address }} dev $INTERFACE
-{% if tinc.extra_up is defined %}
-{% for cmd in tinc.extra_up %}
-{{ cmd }}
-{% endfor %}
-{% endif %}