mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-13 14:19:20 +02:00
adapt password info
This commit is contained in:
parent
db83ca4b83
commit
4289cafceb
@ -40,6 +40,13 @@ This can take multiple hours.
|
||||
toraddress=$(sudo cat /mnt/hdd/tor/btc-rpc-explorer/hostname 2>/dev/null)
|
||||
fingerprint=$(openssl x509 -in /mnt/hdd/app-data/nginx/tls.cert -fingerprint -noout | cut -d"=" -f2)
|
||||
|
||||
# check if password protected
|
||||
isBitcoinWalletOff=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep -c "^disablewallet=1")
|
||||
passwordInfo=""
|
||||
if [ "${isBitcoinWalletOff}" != "1" ]; then
|
||||
passwordInfo="Login is 'admin' with your Password B"
|
||||
fi
|
||||
|
||||
if [ "${runBehindTor}" = "on" ] && [ ${#toraddress} -gt 0 ]; then
|
||||
|
||||
# TOR
|
||||
@ -48,7 +55,7 @@ This can take multiple hours.
|
||||
http://${localip}:3020\n
|
||||
https://${localip}:3021 with Fingerprint:
|
||||
${fingerprint}\n
|
||||
Login is 'admin' with your Password B\n
|
||||
${passwordInfo}\n
|
||||
Hidden Service address for TOR Browser (QR see LCD):
|
||||
${toraddress}
|
||||
" 16 67
|
||||
@ -60,7 +67,7 @@ ${toraddress}
|
||||
http://${localip}:3020\n
|
||||
https://${localip}:3021 with Fingerprint:
|
||||
${fingerprint}\n
|
||||
Login is 'admin' with your Password B\n
|
||||
${passwordInfo}\n
|
||||
Activate TOR to access the web block explorer from outside your local network.
|
||||
" 16 54
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user