summaryrefslogtreecommitdiff
path: root/netcon/install-intercept.sh
diff options
context:
space:
mode:
Diffstat (limited to 'netcon/install-intercept.sh')
-rwxr-xr-xnetcon/install-intercept.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/netcon/install-intercept.sh b/netcon/install-intercept.sh
new file mode 100755
index 00000000..bce4d16b
--- /dev/null
+++ b/netcon/install-intercept.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+cp libzerotierintercept.so /lib/libzerotierintercept.so
+ln -sf /lib/libzerotierintercept.so /lib/libzerotierintercept
+/usr/bin/install -c zerotier-intercept /usr/bin
+
+# rm -r /lib/libzerotierintercept.so
+# rm -r /lib/libzerotierintercept
+# rm -r /usr/bin/zerotier-intercept