aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-22 12:32:11 +0000
committerRoy Marples <roy@marples.name>2008-09-22 12:32:11 +0000
commit27805de20aae4618c77042761aaf87054f5671e8 (patch)
treee4c36db98080fc27098be86ea77aec5c92fca9b0 /init.d
parent53693367dfb533cc515ea9751899c3612febc30d (diff)
Allow forcefsck on the kernel command line, Gentoo #218431
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 07cd8f38..ee2acdcc 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -33,7 +33,7 @@ start()
ewarn "Skipping fsck due to /fastboot"
return 0
fi
- if [ -e /forcefsck ]; then
+ if [ -e /forcefsck ] || get_bootparam forcefsck; then
fsck_opts="${fsck_opts} -f"
check_extra="(check forced)"
fi