aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-31 20:15:26 +0000
committerBill Nottingham <notting@redhat.com>2000-07-31 20:15:26 +0000
commit8347072b6080c8dc06cfd8845cb4ebec8743b119 (patch)
tree38efdd95e57274dc7a3c9200f1c5a40a82e57e51 /rc.d
parent33e626e22fbb49fb749bf488bc1906ebc979024a (diff)
downloadinitscripts-8347072b6080c8dc06cfd8845cb4ebec8743b119.tar
initscripts-8347072b6080c8dc06cfd8845cb4ebec8743b119.tar.gz
initscripts-8347072b6080c8dc06cfd8845cb4ebec8743b119.tar.bz2
initscripts-8347072b6080c8dc06cfd8845cb4ebec8743b119.tar.xz
initscripts-8347072b6080c8dc06cfd8845cb4ebec8743b119.zip
don't fsck an NFS root filesystem
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b6b2bbfe..b1fb0992 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -210,7 +210,8 @@ else
fi
_RUN_QUOTACHECK=0
-if [ -z "$fastboot" ]; then
+ROOTFSTYPE=`grep " / " /proc/mounts | awk '{ print $3 }'`
+if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" ]; then
STRING="Checking root filesystem"
echo $STRING