From c91d0b1d0513d963daa4cb04124fdc3eaff70306 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 27 Jul 2022 13:37:40 +0200 Subject: [PATCH] sudo fix webui install btc-rpc-explorer --- home.admin/config.scripts/bonus.btc-rpc-explorer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/bonus.btc-rpc-explorer.sh b/home.admin/config.scripts/bonus.btc-rpc-explorer.sh index 77b6f3bf1..90a3ccdd7 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-) - touch /home/admin/btc-rpc-explorer.env + sudo touch /home/admin/btc-rpc-explorer.env sudo chmod 600 /home/admin/btc-rpc-explorer.env || exit 1 - cat > /home/admin/btc-rpc-explorer.env < /home/admin/btc-rpc-explorer.env <