mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
restart lnd if needed
This commit is contained in:
@@ -51,6 +51,7 @@ OK. You are running the newest version of RaspiBlitz.
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
clear
|
||||||
else
|
else
|
||||||
|
|
||||||
whiptail --title "Update Check" --yes-button "Yes" --no-button "Not Now" --yesno "
|
whiptail --title "Update Check" --yes-button "Yes" --no-button "Not Now" --yesno "
|
||||||
@@ -112,6 +113,10 @@ and do you WANT TO START UPDATE NOW?
|
|||||||
" 16 62
|
" 16 62
|
||||||
|
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
|
dialog --title " Update Canceled " --msgbox "
|
||||||
|
OK. RaspiBlitz will NOT update now.
|
||||||
|
" 7 39
|
||||||
|
sudo systemctl start lnd
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user