bugfix for pw generation
This commit is contained in:
parent
0e68145e61
commit
1ed8933c0b
|
@ -3,7 +3,7 @@
|
|||
export HOME="/var/lib/bitcoind"
|
||||
|
||||
# gen random pw for rpc server
|
||||
RANDOMPW=$(tr -dc 'a-f0-9' < /dev/urandom | head -c20)
|
||||
RANDOMPW=$(openssl rand -hex 20)
|
||||
|
||||
cat <<EOF > $HOME/bitcoin.conf
|
||||
rpcuser=${BITCOIND_RPCUSER:-rpcuser}
|
||||
|
|
Loading…
Reference in New Issue