diff options
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 |