Browse Source

note about reconnect

dev
rootzoll 6 years ago
parent
commit
5ffe65edf0
  1. 5
      home.admin/00settingsMenuServices.sh
  2. 1
      home.admin/config.scripts/lnd.autounlock.sh

5
home.admin/00settingsMenuServices.sh

@ -169,6 +169,11 @@ if [ ${check} -eq 1 ]; then choice="on"; fi
if [ "${autoUnlock}" != "${choice}" ]; then
echo "LND Autounlock Setting changed .."
sudo /home/admin/config.scripts/lnd.autounlock.sh ${choice}
if [ "${choice}" = "on" ]; then
l1="Auto-Unlock is now ACTIVE"
l2="mobile/external wallets may need reconnect (macaroon/tls)"
dialog --title 'OK' --msgbox "${l1}\n${l2}" 9 60
fi
needsReboot=1
else
echo "LND Autounlock Setting unchanged."

1
home.admin/config.scripts/lnd.autounlock.sh

@ -102,6 +102,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo sh -c "echo \"${passwordC}\" > /root/lnd.autounlock.pwd"
echo "Auto-Unlock is now ON"
echo "NOTE: you may need to reconnect mobile/external wallets (macaroon/tls)"
fi
# switch off

Loading…
Cancel
Save