From 0970f673456cf8bef932aef048bb89f6178eb104 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 9 Mar 2014 22:32:48 +0100 Subject: ship:implement ncdc configuration --- ship/src/filehooker_configure_ncdc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ship/src/filehooker_configure_ncdc (limited to 'ship/src/filehooker_configure_ncdc') diff --git a/ship/src/filehooker_configure_ncdc b/ship/src/filehooker_configure_ncdc new file mode 100644 index 00000000..c980ebf2 --- /dev/null +++ b/ship/src/filehooker_configure_ncdc @@ -0,0 +1,15 @@ +#!/bin/sh +#@info +#@strict +#@include filehooker + +dc_hub="adcs://elch.nsupdate.info:2781" +rnd=`hexdump -n 2 -e '/2 "%u"' /dev/urandom` +nick="filehooker_$rnd" + + +ncdc_install +ncdc_autostart + +ncdc_configure_nick "$nick" +ncdc_configure_hub "$dc_hub" -- cgit v1.2.3