mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
move removing of recover flag
This commit is contained in:
parent
4ed2043183
commit
b141890ca9
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue