Files
raspiblitz/home.admin/setup.scripts/controlSetupExtendedDialog.sh
/rootzoll 39fd3344ce #4324 New Drive Layout: Boot NVMe, Proxmox & OldLaptop (#4997)
Big refactor based on #4324 introducing a new drive layout - adding optimizations for Proxmox and old laptop drive layout . Also making it possible to boot from NVMe. Replacing blitz.datadrive.sh with blitz.data.sh - icluding the possibility to migrate an old ssd/nvme to a bigger one (copying complete data and blockchain). Lots of smaller changes.
2025-05-15 13:04:22 +02:00

19 lines
506 B
Bash
Executable File

#!/bin/bash
# get basic system information
# these are the same set of infos the WebGUI dialog/controler has
source /home/admin/raspiblitz.info
source <(/home/admin/_cache.sh get ui_migration_upload ui_migration_uploadUnix ui_migration_uploadWin)
if [ "${ui_migration_upload}" = "1" ]; then
sudo /home/admin/config.scripts/blitz.migration.sh import-gui
/home/admin/_cache.sh set state "waitprovision"
exit 0
fi
# break loop if no matching if above
/home/admin/_cache.sh set state "error"
exit 1