mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
write user chopice to raspiblitz.info
This commit is contained in:
parent
e03bf9edb6
commit
0bf696a046
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue