From 011bbba0adeca487b2217bd43f88bfd364c84395 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 8 Dec 2020 07:35:21 -0500 Subject: [PATCH] update docker --- zcutil/docker-entrypoint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zcutil/docker-entrypoint.sh b/zcutil/docker-entrypoint.sh index 4615ba48f..1ffc95b08 100755 --- a/zcutil/docker-entrypoint.sh +++ b/zcutil/docker-entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash -# Copyright (c) 2019-2020 Hush developers +# Copyright (c) 2019-2020 The Hush developers +# Distributed under the GPLv3 software license, see the accompanying +# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html #set -ex echo "...Checking HUSH3.conf" @@ -7,8 +9,10 @@ echo "...Checking HUSH3.conf" if [ ! -e "$HOME/.komodo/HUSH3/HUSH3.conf" ]; then mkdir -p $HOME/.komodo/HUSH3 + DATE=$(date) echo "...Creating HUSH3.conf" cat < $HOME/.komodo/HUSH3.conf +# Generated by docker-entrypoint.sh at $DATE rpcuser=hush rpcpassword=${rpcpassword:-`dd if=/dev/urandom bs=33 count=1 2>/dev/null | base64`} txindex=1