diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-11 11:42:54 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-11 11:42:54 +0100 |
commit | 16eab1e1475072b2f203f071566b6a83249b1ca0 (patch) | |
tree | 54ad598cb414830ae463363f3f135f829e2e14c5 /share/tinc-up-ip |
Initial commit
Diffstat (limited to 'share/tinc-up-ip')
-rw-r--r-- | share/tinc-up-ip | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/tinc-up-ip b/share/tinc-up-ip new file mode 100644 index 0000000..191d310 --- /dev/null +++ b/share/tinc-up-ip @@ -0,0 +1,5 @@ +#!/bin/sh + +ip -4 addr add "${ip4}/16" dev "$INTERFACE" + +ip link set "$INTERFACE" up |