summaryrefslogtreecommitdiffstats
path: root/ship/src/filehooker_configure_ncdc
blob: c980ebf2cf27eb345bd8a0410b7e1193be145380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"