From 8347072b6080c8dc06cfd8845cb4ebec8743b119 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 31 Jul 2000 20:15:26 +0000 Subject: don't fsck an NFS root filesystem --- rc.d/rc.sysinit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1