#259 add reconnect notice

This commit is contained in:
rootzoll
2019-01-18 03:34:20 +01:00
parent 5ffe65edf0
commit c698c282a7

View File

@@ -169,11 +169,14 @@ 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}
l1="AUTO-UNLOCK IS NOW OFF"
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
l1="AUTO-UNLOCK IS NOW ACTIVE"
fi
l2="-------------------------"
l3="mobile/external wallets may need reconnect"
l4="possible change in macaroon / TLS cert"
dialog --title 'OK' --msgbox "${l1}\n${l2}\n${l3}\n${l4}" 11 60
needsReboot=1
else
echo "LND Autounlock Setting unchanged."