mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 05:39:22 +02:00
fix autounlock
This commit is contained in:
parent
8d4acb3dbc
commit
7bbcd526fe
@ -125,9 +125,9 @@ do
|
||||
echo "STARTING AUTO-UNLOCK ..."
|
||||
|
||||
# building REST command
|
||||
passwordC=$(cat /root/lnd.autounlock.pwd)
|
||||
passwordC=$(sudo cat /root/lnd.autounlock.pwd)
|
||||
passinsert="'${passwordC}'"
|
||||
sudo python /home/admin/config.scripts/lnd.unlock.py $passinsert
|
||||
sudo python /home/admin/config.scripts/lnd.unlock.py ${passinsert}
|
||||
|
||||
else
|
||||
echo "lncli says not locked"
|
||||
|
Loading…
x
Reference in New Issue
Block a user