We don't have console, so default to no for fsck
This commit is contained in:
parent
c3608471cd
commit
9ced77155b
@ -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
|
||||
|
@ -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=$?
|
||||
|
Loading…
Reference in New Issue
Block a user