eend $?
fi
if [[ -f /forcefsck ]] || get_bootparam "forcefsck" ; then
if [[ -f /forcefsck ]] || get_bootparam "forcerootfsck" || get_bootparam "forcefsck" ; then
ebegin "Checking root filesystem (full fsck forced)"
fsck -C -a -f /
# /forcefsck isn't deleted because checkfs needs it.
rm -f /fastboot
else
ebegin "Checking all filesystems"
if [[ -f /forcefsck ]] ; then
ewarn "A full fsck has been forced"
fsck -C -T -R -A -a -f
retval=$?