From 67d6190850a626888aaffc5a046e51dd690435fe Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 19 Mar 2014 20:40:24 +0100 Subject: filehooker:add name to connection --- filehooker/root-image/krebs/lib/filehooker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filehooker/root-image/krebs/lib') diff --git a/filehooker/root-image/krebs/lib/filehooker b/filehooker/root-image/krebs/lib/filehooker index 90d887bd..71db201a 100644 --- a/filehooker/root-image/krebs/lib/filehooker +++ b/filehooker/root-image/krebs/lib/filehooker @@ -27,8 +27,8 @@ ncdc_configure_nick(){ } ncdc_configure_hub(){ rnd=`hexdump -n 2 -e '/2 "%u"' /dev/urandom` - hubname="hub_$rnd" hub=${1?adcs://localhost:2781} + hubname="${2:-hub_$rnd}" info "configuring DC Hub: $hub, activating autconnect" info "setting active as true" (echo "/open ${hubname} ${hub}" ; -- cgit v1.2.3