mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
move removing of recover flag
This commit is contained in:
parent
4ed2043183
commit
b141890ca9
@ -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…
x
Reference in New Issue
Block a user