mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
fix migration dialog
This commit is contained in:
@@ -63,12 +63,11 @@ fi
|
|||||||
# QuickOption: Migration from other node
|
# QuickOption: Migration from other node
|
||||||
if [ "${setupPhase}" == "migration" ]; then
|
if [ "${setupPhase}" == "migration" ]; then
|
||||||
# show recovery dialog
|
# show recovery dialog
|
||||||
echo "# Starting migration dialog ..."
|
echo "# Starting migration dialog (${hddGotMigrationData}) ..."
|
||||||
/home/admin/setup.scripts/dialogMigration.sh ${migrationOS}
|
/home/admin/setup.scripts/dialogMigration.sh ${hddGotMigrationData}
|
||||||
if [ "$?" == "0" ]; then
|
if [ "$?" == "0" ]; then
|
||||||
# mark migration to happen on provision
|
# mark migration to happen on provision
|
||||||
echo "migrationOS='umbrel'" >> $SETUPFILE
|
echo "migrationOS='${hddGotMigrationData}'" >> $SETUPFILE
|
||||||
echo "migrationVersion='${migrationVersion}'" >> $SETUPFILE
|
|
||||||
# user needs to reset password A, B & C
|
# user needs to reset password A, B & C
|
||||||
echo "setPasswordA=1" >> $SETUPFILE
|
echo "setPasswordA=1" >> $SETUPFILE
|
||||||
echo "setPasswordB=1" >> $SETUPFILE
|
echo "setPasswordB=1" >> $SETUPFILE
|
||||||
|
Reference in New Issue
Block a user