diff options
author | Bill Nottingham <notting@redhat.com> | 2000-07-31 20:15:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-07-31 20:15:26 +0000 |
commit | 8347072b6080c8dc06cfd8845cb4ebec8743b119 (patch) | |
tree | 38efdd95e57274dc7a3c9200f1c5a40a82e57e51 /rc.d | |
parent | 33e626e22fbb49fb749bf488bc1906ebc979024a (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 3 |
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 |