Browse Source

fix autounlock

dev
rootzoll 6 years ago
parent
commit
7bbcd526fe
  1. 4
      home.admin/_background.sh

4
home.admin/_background.sh

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

Loading…
Cancel
Save