summaryrefslogtreecommitdiffstats
path: root/ship/src
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-02-21 13:02:32 +0100
committermakefu <root@pigstarter.de>2014-02-21 13:02:32 +0100
commitc7d16155f4c86d8711bddee23b9799faf4bfe63a (patch)
tree8898475acbb4b1ff34cc9dcb7245c4e566467072 /ship/src
parentcb5d60a7c73333d0ca6ad4c814670be1a8ca6792 (diff)
parent3843ad66568d099e2b0bb2f7158753066b69c965 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'ship/src')
-rw-r--r--ship/src/find-supers-tinc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ship/src/find-supers-tinc b/ship/src/find-supers-tinc
new file mode 100644
index 00000000..edbb5a7b
--- /dev/null
+++ b/ship/src/find-supers-tinc
@@ -0,0 +1,6 @@
+#!/bin/sh
+#@include core
+#@include retiolum
+
+find_supernodes | cut -d\ -f 1 | shuf | head -n 5 \
+ | xargs -n1 printf "ConnectTo=%s\n"