allow the user to decide whether fsck aborts for errors
X-Gentoo-Bug: 564008 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
This commit is contained in:
parent
bf2f40828e
commit
9473ac514c
@ -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"
|
||||
|
@ -20,7 +20,7 @@ depend()
|
||||
}
|
||||
|
||||
_abort() {
|
||||
rc-abort
|
||||
yesno ${fsck_abort_on_errors:-yes} && rc-abort
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user