summaryrefslogtreecommitdiffstats
path: root/ship/src
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-07 16:04:34 +0100
committermakefu <github@syntax-fehler.de>2014-03-07 16:04:34 +0100
commite0a6751890271e073f756cabdf1b9bcdb068712e (patch)
tree7b051b181a4f2b63811ad7da1fad3f6919cad345 /ship/src
parentdfd5330226d0cd3163cfe92508e29ae7c517498c (diff)
unfix all the docker tests, sorry :(
Diffstat (limited to 'ship/src')
-rw-r--r--ship/src/refresh-supers2
1 files changed, 2 insertions, 0 deletions
diff --git a/ship/src/refresh-supers b/ship/src/refresh-supers
index a35e2229..6dc6e8ab 100644
--- a/ship/src/refresh-supers
+++ b/ship/src/refresh-supers
@@ -22,6 +22,8 @@ defer "rm -f $tmp_tincconf"
sed '/^[ ]*ConnectTo/d' "$tincconf" > "$tmp_tincconf"
+
+# TODO find_supernodes requires netcat
find_supernodes | cut -d\ -f 1 | shuf \
| head -n "${max_connect_to}" \
| xargs -n1 printf "ConnectTo=%s\n" >> "$tmp_tincconf"