Browse Source

fix autolock

dev
rootzoll 6 years ago
parent
commit
bb9fb87821
  1. 5
      home.admin/_background.sh

5
home.admin/_background.sh

@ -126,8 +126,9 @@ do
# building REST command # building REST command
passwordC=$(sudo cat /root/lnd.autounlock.pwd) passwordC=$(sudo cat /root/lnd.autounlock.pwd)
passinsert="'${passwordC}'" command="sudo python /home/admin/config.scripts/lnd.unlock.py '${passwordC}'"
sudo python /home/admin/config.scripts/lnd.unlock.py ${passinsert} echo "command(${$command})"
unlockResult=$($command)
else else
echo "lncli says not locked" echo "lncli says not locked"

Loading…
Cancel
Save