summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/install_main7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main
index 91f8b4c..723016d 100644
--- a/backend/modules/install_main
+++ b/backend/modules/install_main
@@ -85,14 +85,15 @@ EOF
elif [ "${mountpoint:0:7}" = "/media/" ]; then
# don't run fsck on boot for all /media/* mountpoints
fstab_pass=0
+
+ # skip mounting failed or unavailable partitions when booting
+ fstab_options="${fstab_options},nofail"
+
else
# don't run fsck on boot if device is a removable disk (if group of /dev/XXX == floppy)
[ "$(stat --format "%G" $device)" = "floppy" ] && fstab_pass=0
fi
- # skip mounting failed or unavailable partitions when booting
- fstab_options="${fstab_options},nofail"
-
fstab_options="${fstab_options##defaults,}"
unset DEV UUID