aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-05-02 13:07:00 +0000
committerRoy Marples <roy@marples.name>2007-05-02 13:07:00 +0000
commit9ced77155ba7d143fa18c3645dc84b55b97c7b04 (patch)
treecebba0abcecaf1b0fb1535ff97eb0427557ce0b9
parentc3608471cd4f6808ed90d4185eda9424cf25e6ab (diff)
We don't have console, so default to no for fsck
-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=$?