mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-23 18:02:13 +02:00
correct place
This commit is contained in:
@@ -309,18 +309,18 @@ if [ "$1" = "status" ]; then
|
||||
# remove the storage device from the list
|
||||
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)
|
||||
if [ "${systemDevice}" = "${storageDevice}" ]; then
|
||||
scenario="error:no-storage"
|
||||
storageDevice=""
|
||||
storageSizeGB=""
|
||||
|
||||
if [ "${computerType}" = "pc" ]; then
|
||||
echo "# on bare metal PC - storage device is the system boot device"
|
||||
bootFromStorage=1
|
||||
bootFromSD=0
|
||||
fi
|
||||
|
||||
# Set SYSTEM
|
||||
elif [ ${#systemDevice} -eq 0 ]; then
|
||||
|
||||
|
Reference in New Issue
Block a user