mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
little fix
This commit is contained in:
parent
f9cc634ad7
commit
1866e27c97
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ while [ ${chainIsReady} -eq 0 ]
|
|||
# CHECK #########
|
||||
|
||||
echo "*** Check LND Config ***"
|
||||
configExists=$( sudo ls /mnt/hdd/lnd/ | grep -c lnd.conf )
|
||||
configExists=$( sudo ls /mnt/hdd/lnd/lnd.conf 2>/dev/null | grep -c lnd.conf )
|
||||
if [ ${configExists} -eq 0 ]; then
|
||||
sudo cp /home/admin/assets/lnd.${network}.conf /mnt/hdd/lnd/lnd.conf
|
||||
source <(sudo cat /mnt/hdd/${network}/${network}.conf 2>/dev/null | grep "rpcpassword" | sed 's/^[a-z]*\./lnd/g')
|
||||
|
|
Loading…
Add table
Reference in a new issue