From b0f5bdff6169f7e0ee4cde1ef14e0990e2cfa7a7 Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt Date: Tue, 6 Oct 2020 18:49:11 +0000 Subject: [PATCH] Fix btrfs for PR #1615 (#1628) --- home.admin/config.scripts/blitz.datadrive.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/home.admin/config.scripts/blitz.datadrive.sh b/home.admin/config.scripts/blitz.datadrive.sh index 2b8048655..d115805dc 100755 --- a/home.admin/config.scripts/blitz.datadrive.sh +++ b/home.admin/config.scripts/blitz.datadrive.sh @@ -211,12 +211,8 @@ if [ "$1" = "status" ]; then hddFormat=$(lsblk -o FSTYPE,NAME,TYPE | grep part | grep "${hddDataPartition}" | cut -d " " -f 1) if [ "${hddFormat}" = "ext4" ]; then hddDataPartitionExt4=$hddDataPartition - subVolumeDir="" fi - if [ "${hddFormat}" = "btrfs" ]; then - subVolumeDir="/WORKINGDIR" - fi - hddRaspiData=$(sudo ls -l /mnt/hdd${subVolumeDir} | grep -c raspiblitz.conf) + hddRaspiData=$(sudo ls -l /mnt/hdd | grep -c raspiblitz.conf) echo "hddRaspiData=${hddRaspiData}" isSSD=$(sudo cat /sys/block/${hdd}/queue/rotational 2>/dev/null | grep -c 0)