Provide Option to Run File System Check (Fsck) on Reboot
Since WHM already has an option to perform a server reboot, adding a check box to have an option for a File System Check along with the reboot could save the user time.
Of note, CentOS 7 under systemd still appears to respect seeing and using the touch file for forcing a file system check:
I tested this on my box on CentOS 7 and so long as the touch file exists before the file system check, one is performed:
root@server [/usr/lib/systemd]# touch /forcefsck
root@server [/usr/lib/systemd]# reboot
root@server [/var/log]# tune2fs -l /dev/xvda | grep checked
Last checked: Tue Jun 30 21:48:13 2015
This request is to basically add a touch file before reboot so that the server will run a file system check upon reboot. If the user checks the box, the touch file would be added (touch /forcefsck). If the user un-checks the box, the touch file would be removed.