From 9ced77155ba7d143fa18c3645dc84b55b97c7b04 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 2 May 2007 13:07:00 +0000 Subject: We don't have console, so default to no for fsck --- init.d/checkfs | 2 +- init.d/checkroot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'init.d') diff --git a/init.d/checkfs b/init.d/checkfs index 45484939..d2929edd 100755 --- a/init.d/checkfs +++ b/init.d/checkfs @@ -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 diff --git a/init.d/checkroot b/init.d/checkroot index a369fe50..1cc5f89e 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -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=$? -- cgit v1.2.3