- nfs.init: handle case where kernel adds trailing
slash to name in /proc/mounts. (bnc#722431 bnc#720376) OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=61
This commit is contained in:
parent
8639375bda
commit
afaf19b6f4
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 05:18:17 UTC 2011 - nfbrown@suse.com
|
||||||
|
|
||||||
|
- nfs.init: handle case where kernel adds trailing
|
||||||
|
slash to name in /proc/mounts.
|
||||||
|
(bnc#722431 bnc#720376)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 1 15:24:33 UTC 2011 - crrodriguez@opensuse.org
|
Sat Oct 1 15:24:33 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
3
nfs.init
3
nfs.init
@ -61,7 +61,8 @@ while read -r what where type options rest ; do
|
|||||||
esac
|
esac
|
||||||
nfs=yes
|
nfs=yes
|
||||||
if test "$1" = status ; then
|
if test "$1" = status ; then
|
||||||
grep -qF "$what $where nfs" /proc/mounts && continue
|
grep -qF "$what $where nfs
|
||||||
|
$what/ $where nfs" /proc/mounts && continue
|
||||||
state=3
|
state=3
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user