We don't have console, so default to no for fsck

This commit is contained in:
Roy Marples 2007-05-02 13:07:00 +00:00
parent c3608471cd
commit 9ced77155b
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ do_checkfs() {
if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then
ewarn "A full fsck has been forced"
mode="-f"
mode="-f -n"
fi
if [ "${RC_UNAME}" = "Linux" ] ; then

View File

@ -48,7 +48,7 @@ start() {
if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then
ebegin "Checking root filesystem (full fsck forced)"
fsck ${opts} -f /
fsck ${opts} -f -n /
# /forcefsck isn't deleted because checkfs needs it.
# it'll be deleted in that script.
retval=$?