mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 02:22:24 +01:00
note about reconnect
This commit is contained in:
@@ -169,6 +169,11 @@ if [ ${check} -eq 1 ]; then choice="on"; fi
|
|||||||
if [ "${autoUnlock}" != "${choice}" ]; then
|
if [ "${autoUnlock}" != "${choice}" ]; then
|
||||||
echo "LND Autounlock Setting changed .."
|
echo "LND Autounlock Setting changed .."
|
||||||
sudo /home/admin/config.scripts/lnd.autounlock.sh ${choice}
|
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
|
needsReboot=1
|
||||||
else
|
else
|
||||||
echo "LND Autounlock Setting unchanged."
|
echo "LND Autounlock Setting unchanged."
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
sudo sh -c "echo \"${passwordC}\" > /root/lnd.autounlock.pwd"
|
sudo sh -c "echo \"${passwordC}\" > /root/lnd.autounlock.pwd"
|
||||||
|
|
||||||
echo "Auto-Unlock is now ON"
|
echo "Auto-Unlock is now ON"
|
||||||
|
echo "NOTE: you may need to reconnect mobile/external wallets (macaroon/tls)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# switch off
|
# switch off
|
||||||
|
|||||||
Reference in New Issue
Block a user