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