chore: Restore fstab check

This commit is contained in:
Kyle Gospodnetich 2024-04-28 08:45:08 -07:00
parent e1c706325d
commit 7f3fe363fa

View File

@ -142,7 +142,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
fi
# FSTAB CONFIGURATION
if [[ ! -e /etc/ublue-os/.fstab_adjusted.flag ]]; then
if [[ ! -e /etc/ublue-os/.fstab_adjusted.flag && $(grep "compress=zstd" /etc/fstab) ]]; then
echo "Applying fstab param adjustments"
if grep -q '64GB' <<< "$(lsblk -o MODEL)"; then
echo "64GB eMMC detected"