Enable fsck_shutdown again.
This commit is contained in:
parent
e687cc1e79
commit
492a8f87cf
@ -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.
|
@ -35,3 +35,9 @@ start()
|
|||||||
exec rc-abort; return 1;;
|
exec rc-abort; return 1;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop()
|
||||||
|
{
|
||||||
|
yesno "${fsck_shutdown}" && start
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user