mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-04 01:48:23 +02:00
fix path
This commit is contained in:
parent
dc05c71baa
commit
26a21ca55a
@ -116,7 +116,6 @@ You now need to setup your Lightning Wallet:
|
||||
We will now call the command: lncli create
|
||||
lncli = Lightning Network Command Line Interface
|
||||
Learn more: https://api.lightning.community
|
||||
|
||||
Press OK and follow the 'Helping Instructions'.
|
||||
" 14 52
|
||||
clear
|
||||
@ -180,12 +179,13 @@ if [ ${macaroonExists} -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
sudo mkdir /home/admin/.lnd 2>/dev/null
|
||||
macaroonExists=$(sudo ls -la /home/admin/data/${network}/${chain}net/.lnd/ | grep -c admin.macaroon)
|
||||
macaroonExists=$(sudo ls -la /home/admin/.lnd/data/chain/${network}/${chain}net/ | grep -c admin.macaroon)
|
||||
if [ ${macaroonExists} -eq 0 ]; then
|
||||
sudo mkdir /home/admin/.lnd
|
||||
sudo mkdir /home/admin/.lnd/data
|
||||
sudo mkdir /home/admin/.lnd/${network}
|
||||
sudo mkdir /home/admin/.lnd/${network}/${chain}net
|
||||
sudo mkdir /home/admin/.lnd/data/chain
|
||||
sudo mkdir /home/admin/.lnd/data/chain/${network}
|
||||
sudo mkdir /home/admin/.lnd//data/chain/${network}/${chain}net
|
||||
sudo cp /home/bitcoin/.lnd/tls.cert /home/admin/.lnd
|
||||
sudo cp /home/bitcoin/.lnd/data/chain/${network}/${chain}net/admin.macaroon /home/admin/.lnd/data/chain/${network}/${chain}net
|
||||
sudo chown -R admin:admin /home/admin/.lnd/
|
||||
|
Loading…
x
Reference in New Issue
Block a user