diff --git a/home.admin/config.scripts/bonus.btc-rpc-explorer.sh b/home.admin/config.scripts/bonus.btc-rpc-explorer.sh index 0b526db0..e9471597 100755 --- a/home.admin/config.scripts/bonus.btc-rpc-explorer.sh +++ b/home.admin/config.scripts/bonus.btc-rpc-explorer.sh @@ -226,9 +226,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then RPC_USER=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcuser | cut -c 9-) PASSWORD_B=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcpassword | cut -c 13-) - sudo touch /home/admin/btc-rpc-explorer.env - sudo chmod 600 /home/admin/btc-rpc-explorer.env || exit 1 - sudo cat > /home/admin/btc-rpc-explorer.env < /var/cache/raspiblitz/btc-rpc-explorer.env < /home/admin/btc-rpc-explorer.service < /var/cache/raspiblitz/btc-rpc-explorer.service <