summaryrefslogtreecommitdiffstats
path: root/ship/src
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-02-20 18:50:20 +0100
committermakefu <github@syntax-fehler.de>2014-02-20 18:50:20 +0100
commitf46851de1af7c044471523c40e0fe88579b8a997 (patch)
treef5d2e1424ef4cae39881bae5f4966976c482e12c /ship/src
parent3d8232b6effc27bea833f0f99ab80f7c740d5433 (diff)
add proposal for find-supers
this script may be used when bootstrapping new retiolum nodes
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"