Automatic fsck of root filesystem on start/stop

I’m watching this with interest. It would be fantastic if OSMC could detect an improper shutdown (like a power cut) and automatically run fsck on the next boot.