Skip to content

Commit

Permalink
SW-4494 Ensure the migrationoperator file is copied (#134)
Browse files Browse the repository at this point in the history
* Bump version
* ensure the migrationoperator file is copied
  • Loading branch information
amrithvenkat authored Mar 20, 2024
1 parent 88bbf3d commit 44c81aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/beamos/filesystem/migration/usr/bin/migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
echo "Beam OS1 to Beam OS2 Migration Script"

usage () {
echo "Beam OS1 to Beam OS2 Migration Script v1.5.4 "
echo "Beam OS1 to Beam OS2 Migration Script v1.5.5 "
echo " "
echo "OPTIONS: "
echo " "
Expand Down Expand Up @@ -356,6 +356,9 @@ do_preserve_data () {
fi
done

echo "$(timestamp) $0:Copying ${MIGRATION_OPERATOR_FILE} to ${USB_MOUNT_PATH}/${MIGRATION_OPERATOR_FILE}"
sudo cp ${MIGRATION_OPERATOR_FILE} ${USB_MOUNT_PATH}/${MIGRATION_OPERATOR_FILE}

echo "$(timestamp) $0: Backup process completed. Backup copies are stored in '$BACKUP_BASE'."
if [ "${SKIPPED}" -gt 0 ]; then
echo "$(timestamp) $0: Warning - ${SKIPPED} files were skipped - Please check syslog."
Expand Down

0 comments on commit 44c81aa

Please sign in to comment.