mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
move removing of recover flag
This commit is contained in:
@@ -40,8 +40,6 @@ fi
|
||||
if [ "${state}" = "recovered" ]; then
|
||||
echo "System recovered - needs final user settings"
|
||||
./20recoverDialog.sh
|
||||
# remove flag that freshly recovered
|
||||
sudo rm /home/admin/raspiblitz.recover.info
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@@ -52,6 +52,9 @@ Write them down & store them in a safe place.
|
||||
sudo systemctl enable lnd.service
|
||||
sudo systemctl enable ${network}d.service
|
||||
|
||||
# remove flag that freshly recovered
|
||||
sudo rm /home/admin/raspiblitz.recover.info
|
||||
|
||||
# sucess info dialog
|
||||
dialog --backtitle "RaspiBlitz" --msgbox "OK - new SSH passord A is '$result'\nFinal reboot is needed." 6 52
|
||||
sudo shutdown -r now
|
||||
|
Reference in New Issue
Block a user