summaryrefslogtreecommitdiff
path: root/share/tinc-up-ifconfig
diff options
context:
space:
mode:
Diffstat (limited to 'share/tinc-up-ifconfig')
-rw-r--r--share/tinc-up-ifconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/tinc-up-ifconfig b/share/tinc-up-ifconfig
new file mode 100644
index 0000000..66c897e
--- /dev/null
+++ b/share/tinc-up-ifconfig
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ifconfig "$INTERFACE" inet ${ip4} netmask 255.255.0.0