From 1c5ec9d16147c43c48f1d5b07fc58a07e5be1739 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 28 Dec 2008 14:49:07 +0000 Subject: [PATCH] Fake get_bootparam function so that we don't check for kernel options forcefsck when doing an fsck on shutdown. --- init.d/fsck.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.d/fsck.in b/init.d/fsck.in index f2aa62aa..f3c95188 100644 --- a/init.d/fsck.in +++ b/init.d/fsck.in @@ -93,6 +93,9 @@ stop() _abort() { return 0; } _reboot() { return 0; } + # Don't check kernel params on stop. + get_bootparam() { return 1; } + yesno "${fsck_shutdown}" && start return 0 }