mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 03:28:04 +02:00
sudo fix webui install btc-rpc-explorer
This commit is contained in:
@@ -226,9 +226,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
RPC_USER=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcuser | cut -c 9-)
|
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-)
|
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
|
sudo chmod 600 /home/admin/btc-rpc-explorer.env || exit 1
|
||||||
cat > /home/admin/btc-rpc-explorer.env <<EOF
|
sudo cat > /home/admin/btc-rpc-explorer.env <<EOF
|
||||||
# Host/Port to bind to
|
# Host/Port to bind to
|
||||||
# Defaults: shown
|
# Defaults: shown
|
||||||
BTCEXP_HOST=0.0.0.0
|
BTCEXP_HOST=0.0.0.0
|
||||||
|
Reference in New Issue
Block a user