summaryrefslogtreecommitdiff
path: root/scripts/local
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/local')
-rw-r--r--scripts/local4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/local b/scripts/local
index f6424f0..25584fc 100644
--- a/scripts/local
+++ b/scripts/local
@@ -175,7 +175,9 @@ local_mount_fs()
# FIXME This has no error checking
modprobe "${MNT_TYPE}"
- checkfs "$MNT_FSNAME" "$MNT_DIR"
+ if [ "$MNT_PASS" != 0 ]; then
+ checkfs "$MNT_FSNAME" "$MNT_DIR"
+ fi
# FIXME This has no error checking
# Mount filesystem