move removing of recover flag

This commit is contained in:
rootzoll 2018-12-12 18:23:03 +01:00
parent 4ed2043183
commit b141890ca9
2 changed files with 3 additions and 2 deletions

View file

@ -40,8 +40,6 @@ fi
if [ "${state}" = "recovered" ]; then if [ "${state}" = "recovered" ]; then
echo "System recovered - needs final user settings" echo "System recovered - needs final user settings"
./20recoverDialog.sh ./20recoverDialog.sh
# remove flag that freshly recovered
sudo rm /home/admin/raspiblitz.recover.info
exit 1 exit 1
fi fi

View file

@ -52,6 +52,9 @@ Write them down & store them in a safe place.
sudo systemctl enable lnd.service sudo systemctl enable lnd.service
sudo systemctl enable ${network}d.service sudo systemctl enable ${network}d.service
# remove flag that freshly recovered
sudo rm /home/admin/raspiblitz.recover.info
# sucess info dialog # sucess info dialog
dialog --backtitle "RaspiBlitz" --msgbox "OK - new SSH passord A is '$result'\nFinal reboot is needed." 6 52 dialog --backtitle "RaspiBlitz" --msgbox "OK - new SSH passord A is '$result'\nFinal reboot is needed." 6 52
sudo shutdown -r now sudo shutdown -r now