aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/checkfs2
-rwxr-xr-xinit.d/checkroot2
2 files changed, 2 insertions, 2 deletions
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=$?