forked from pool/nfs-utils
This commit is contained in:
parent
de3489de31
commit
2c04071a40
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 9 21:18:22 UTC 2010 - nfbrown@novell.com
|
||||
|
||||
- init.nfs: also call 'udevadm settle' when mounting things
|
||||
other than /usr and /opt. bnc#571540
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 22:15:18 UTC 2010 - nfbrown@novell.com
|
||||
|
||||
|
9
nfs.init
9
nfs.init
@ -227,7 +227,14 @@ case "$1-$nfs" in
|
||||
# sleep 2 && mount -at nfs,nfs4 &
|
||||
# sleep 2
|
||||
#
|
||||
if test "$nfs" = yes ; then
|
||||
if test -n "$mnt" ; then
|
||||
# If network devices are not yet discovered, mounts
|
||||
# might fail, so we might need to 'udevadm settle' to
|
||||
# wait for the interfaces.
|
||||
# We cannot try the mount and on failure: 'settle' and try again
|
||||
# as if there are 'bg' mounts, we could get multiple copies
|
||||
# of them. So always 'settle' if there is any mounting to do.
|
||||
udevadm settle
|
||||
mount -at nfs,nfs4 > /dev/null 2>&1
|
||||
fi
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user