summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/fsck11
1 files changed, 8 insertions, 3 deletions
diff --git a/install/fsck b/install/fsck
index dde219a..739a93b 100644
--- a/install/fsck
+++ b/install/fsck
@@ -27,11 +27,16 @@ build() {
done
fi
- if (( added )); then
- add_binary fsck
- else
+ if (( ! added )); then
warning "No fsck helpers found. fsck will not be run on boot."
+ return
+ fi
+
+ add_binary fsck
+ if [[ -e /etc/e2fsck.conf ]]; then
+ add_file /etc/e2fsck.conf
fi
+
}
help() {