write user chopice to raspiblitz.info

This commit is contained in:
rootzoll 2021-05-23 18:38:36 -05:00
parent e03bf9edb6
commit 0bf696a046

View file

@ -47,6 +47,7 @@ if [ "${setupPhase}" == "recovery" ]; then
else
# default to normal setup options
setupPhase="setup"
sudo sed -i "s/^=setupPhase.*/state=setupPhase/g" /home/admin/raspiblitz.info
echo "# you refused recovery option - defaulting to normal setup"
fi
fi
@ -68,6 +69,7 @@ if [ "${setupPhase}" == "migration" ]; then
else
# on cancel - default to normal setup
setupPhase="setup"
sudo sed -i "s/^=setupPhase.*/state=setupPhase/g" /home/admin/raspiblitz.info
echo "# you refused node migration option - defaulting to normal setup"
exit 1
fi