From 27805de20aae4618c77042761aaf87054f5671e8 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 22 Sep 2008 12:32:11 +0000 Subject: Allow forcefsck on the kernel command line, Gentoo #218431 --- init.d/fsck.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3