note about reconnect

This commit is contained in:
rootzoll 2019-01-18 03:12:26 +01:00
parent 254b6f80c0
commit 5ffe65edf0
2 changed files with 6 additions and 0 deletions

View File

@ -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."

View File

@ -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