[CentOS] unattended fsck on boot

Wed Nov 8 14:45:18 UTC 2006
Tom Brown <tom at ng23.net>

> If your system boots after an unclean shutdown you can set it up to do 
> an autofsck, e.g. an unattended and hands-free fsck. Just go to 
> /etc/sysconfig/autofsck and change the option from 'no' to 'yes'. The 
> next time you reboot after an unclean shitdown, for whatever reason, you 
> will be prompted to say 'Yes to stop autofsck'. If you don't respond it 
> will do an automatic autofsck.

yes but this will not answer Y to fix the issues on the disk which is 
what the OP asked for