diff options
author | Roy Marples <roy@marples.name> | 2008-12-28 14:49:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-12-28 14:49:07 +0000 |
commit | 1c5ec9d16147c43c48f1d5b07fc58a07e5be1739 (patch) | |
tree | 27532579eb55c48c5be819bd318d5c48bc512190 | |
parent | f4b836694227824754f8e556680b49bfd70c49d9 (diff) |
Fake get_bootparam function so that we don't check for kernel options forcefsck when doing an fsck on shutdown.
-rw-r--r-- | init.d/fsck.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |