mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
fix passwordB change for electrs #2861
This commit is contained in:
parent
17c1d707cd
commit
e6772d8ab8
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ EOF
|
|||
if [ "${ElectRS}" == "on" ]; then
|
||||
echo "# changing the RPC password for ELECTRS"
|
||||
RPC_USER=$(cat /mnt/hdd/bitcoin/bitcoin.conf | grep rpcuser | cut -c 9-)
|
||||
sudo sed -i "s/^cookie = \"$RPC_USER.*\"/cookie = \"$RPC_USER:${newPassword}\"/g" /home/electrs/.electrs/config.toml
|
||||
sudo sed -i "s/^auth = \"$RPC_USER.*\"/auth = \"$RPC_USER:${newPassword}\"/g" /home/electrs/.electrs/config.toml
|
||||
fi
|
||||
|
||||
# BTC-RPC-Explorer
|
||||
|
|
Loading…
Add table
Reference in a new issue