Enable fsck_shutdown again.

This commit is contained in:
Roy Marples 2008-01-31 17:12:54 +00:00
parent e687cc1e79
commit 492a8f87cf
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# fsck_shutdown causes checkfs to trigger during shutdown as well as startup. # fsck_shutdown causes fsck to trigger during shutdown as well as startup.
# The end result of this is that if any periodic non-root filesystem checks are # The end result of this is that if any periodic non-root filesystem checks are
# scheduled, under normal circumstances the actual check will happen during # scheduled, under normal circumstances the actual check will happen during
# shutdown rather than at next boot. # shutdown rather than at next boot.

View File

@ -35,3 +35,9 @@ start()
exec rc-abort; return 1;; exec rc-abort; return 1;;
esac esac
} }
stop()
{
yesno "${fsck_shutdown}" && start
return 0
}