aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/fsck6
-rw-r--r--init.d/fsck.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/conf.d/fsck b/conf.d/fsck
index 16aa5752..30131ea1 100644
--- a/conf.d/fsck
+++ b/conf.d/fsck
@@ -32,3 +32,9 @@ fsck_on_battery="YES"
# This is useful when periodic filesystem checks are causing undesirable
# delays at startup, but such delays at shutdown are acceptable.
fsck_shutdown="NO"
+
+# fsck_abort_on_errors can be set to no to cause fsck to not abort on
+# errors.
+# This is useful when periodic filesystem checks are causing undesirable
+# aborts.
+fsck_abort_on_errors="YES"
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 5e5b3e99..005e87fc 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -20,7 +20,7 @@ depend()
}
_abort() {
- rc-abort
+ yesno ${fsck_abort_on_errors:-yes} && rc-abort
return 1
}