mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
make recovery
This commit is contained in:
parent
88eabb92e6
commit
8b54bebb9c
@ -606,6 +606,8 @@ if [ ${isMounted} -eq 0 ]; then
|
||||
if [ "${migrationFile}" != "" ]; then
|
||||
sed -i "s/^message=.*/message='Unpacking Migration Data'/g" ${infoFile}
|
||||
/home/admin/config.scripts/blitz.migration.sh import "${migrationFile}" >> ${logFile}
|
||||
sed -i "s/^setupPhase=.*/setupPhase='recovery'/g" ${infoFile}
|
||||
setupPhase="recovery"
|
||||
fi
|
||||
|
||||
###################################
|
||||
@ -638,7 +640,7 @@ if [ ${isMounted} -eq 0 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# if migration - run the migration provision first
|
||||
# if migration from other nodes - run the migration provision first
|
||||
if [ "${setupPhase}" == "migration" ]; then
|
||||
echo "Calling _provision.migration.sh for possible migrations .." >> $logFile
|
||||
sed -i "s/^message=.*/message='Provision migration'/g" ${infoFile}
|
||||
|
Loading…
Reference in New Issue
Block a user