mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-26 17:51:48 +01:00
dont install drive in proposed layout
This commit is contained in:
parent
fb2aa6d26a
commit
10f1a5d562
@ -410,6 +410,11 @@ if [ "$action" = "status" ] || [ "$action" = "mount" ] || [ "$action" = "unmount
|
||||
systemDevice=""
|
||||
systemSizeGB=""
|
||||
|
||||
# dont use install device in proposed layout
|
||||
elif [ "${systemDevice}" = "${installDevice}" ]; then
|
||||
systemDevice=""
|
||||
systemSizeGB=""
|
||||
|
||||
# otherwise remove the system device from the list
|
||||
else
|
||||
listOfDevices=$(echo "${listOfDevices}" | grep -v "${systemDevice}")
|
||||
@ -431,6 +436,12 @@ if [ "$action" = "status" ] || [ "$action" = "mount" ] || [ "$action" = "unmount
|
||||
dataSizeGB=""
|
||||
fi
|
||||
|
||||
# dont use install device in proposed layout
|
||||
if [ "${systemDevice}" = "${installDevice}" ]; then
|
||||
systemDevice=""
|
||||
systemSizeGB=""
|
||||
fi
|
||||
|
||||
# if there is was no spereated data drive - run combine data & storage partiton
|
||||
if [ ${#dataDevice} -eq 0 ]; then
|
||||
combinedDataStorage=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user