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
|
if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then
|
||||||
ewarn "A full fsck has been forced"
|
ewarn "A full fsck has been forced"
|
||||||
mode="-f"
|
mode="-f -n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${RC_UNAME}" = "Linux" ] ; then
|
if [ "${RC_UNAME}" = "Linux" ] ; then
|
||||||
|
@ -48,7 +48,7 @@ start() {
|
|||||||
|
|
||||||
if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then
|
if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then
|
||||||
ebegin "Checking root filesystem (full fsck forced)"
|
ebegin "Checking root filesystem (full fsck forced)"
|
||||||
fsck ${opts} -f /
|
fsck ${opts} -f -n /
|
||||||
# /forcefsck isn't deleted because checkfs needs it.
|
# /forcefsck isn't deleted because checkfs needs it.
|
||||||
# it'll be deleted in that script.
|
# it'll be deleted in that script.
|
||||||
retval=$?
|
retval=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user