mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
remove lable
This commit is contained in:
@@ -123,9 +123,8 @@ if [ "$1" = "layout" ]; then
|
|||||||
needsUnmount=1
|
needsUnmount=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
label=$(lsblk -no LABEL "/dev/${name}" 2>/dev/null)
|
|
||||||
deviceName=$(echo "${name}" | sed -E 's/p?[0-9]+$//')
|
deviceName=$(echo "${name}" | sed -E 's/p?[0-9]+$//')
|
||||||
echo "# Checking partition ${name} (${size}GB) on ${deviceName} mounted at ${mountPath} with label ${label}"
|
echo "# Checking partition ${name} (${size}GB) on ${deviceName} mounted at ${mountPath}"
|
||||||
|
|
||||||
# Check STORAGE DRIVE
|
# Check STORAGE DRIVE
|
||||||
if [ -d "${mountPath}/app-storage" ]; then
|
if [ -d "${mountPath}/app-storage" ]; then
|
||||||
|
Reference in New Issue
Block a user