mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
correct place
This commit is contained in:
@@ -309,18 +309,18 @@ if [ "$1" = "status" ]; then
|
|||||||
# remove the storage device from the list
|
# remove the storage device from the list
|
||||||
listOfDevices=$(echo "${listOfDevices}" | grep -v "${storageDevice}")
|
listOfDevices=$(echo "${listOfDevices}" | grep -v "${storageDevice}")
|
||||||
|
|
||||||
|
if [ ${#storageDevice} -gt 0 ] && [ "${computerType}" = "pc" ]; then
|
||||||
|
echo "# on bare metal PC - storage device is the system boot device"
|
||||||
|
bootFromStorage=1
|
||||||
|
bootFromSD=0
|
||||||
|
fi
|
||||||
|
|
||||||
# no storage device found (system seems only device)
|
# no storage device found (system seems only device)
|
||||||
if [ "${systemDevice}" = "${storageDevice}" ]; then
|
if [ "${systemDevice}" = "${storageDevice}" ]; then
|
||||||
scenario="error:no-storage"
|
scenario="error:no-storage"
|
||||||
storageDevice=""
|
storageDevice=""
|
||||||
storageSizeGB=""
|
storageSizeGB=""
|
||||||
|
|
||||||
if [ "${computerType}" = "pc" ]; then
|
|
||||||
echo "# on bare metal PC - storage device is the system boot device"
|
|
||||||
bootFromStorage=1
|
|
||||||
bootFromSD=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set SYSTEM
|
# Set SYSTEM
|
||||||
elif [ ${#systemDevice} -eq 0 ]; then
|
elif [ ${#systemDevice} -eq 0 ]; then
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user