diff options
author | makefu <github@syntax-fehler.de> | 2014-03-19 20:40:24 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-03-19 20:40:24 +0100 |
commit | 67d6190850a626888aaffc5a046e51dd690435fe (patch) | |
tree | 6d0ae85582e8b031247439c70c2b88ac0f057b49 /filehooker/root-image | |
parent | 42c116bff814facbae106b4b1927a77657e6ea05 (diff) |
filehooker:add name to connection
Diffstat (limited to 'filehooker/root-image')
-rw-r--r-- | filehooker/root-image/krebs/lib/filehooker | 2 |
1 files changed, 1 insertions, 1 deletions
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}" ; |