- nfsserver.init: remove VERSION_LIST. This is
unnecessary duplication of VERSION_PARAMS OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=71
This commit is contained in:
parent
4195795a21
commit
bf6b9f6466
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 2 01:42:23 UTC 2012 - nfbrown@suse.com
|
||||
|
||||
- nfsserver.init: remove VERSION_LIST. This is
|
||||
unnecessary duplication of VERSION_PARAMS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 2 01:34:51 UTC 2012 - nfbrown@suse.com
|
||||
|
||||
|
@ -175,21 +175,12 @@ case "$1" in
|
||||
rc_status
|
||||
fi
|
||||
VERSION_PARAMS=
|
||||
if [ "$NFS3_SERVER_SUPPORT" != "no" ]; then
|
||||
VERSION_LIST="+2 +3 "
|
||||
else
|
||||
VERSION_LIST="-2 -3"
|
||||
if [ "$NFS3_SERVER_SUPPORT" == "no" ]; then
|
||||
VERSION_PARAMS="--no-nfs-version 2 --no-nfs-version 3"
|
||||
fi
|
||||
if [ "$NFS4_SUPPORT" = "yes" ]; then
|
||||
VERSION_LIST="$VERSION_LIST +4"
|
||||
else
|
||||
VERSION_LIST="$VERSION_LIST -4"
|
||||
if [ "$NFS4_SUPPORT" != "yes" ]; then
|
||||
VERSION_PARAMS="--no-nfs-version 4"
|
||||
fi
|
||||
if [ " `cat /proc/fs/nfsd/threads`" = " 0" ]; then
|
||||
echo $VERSION_LIST > /proc/fs/nfsd/versions
|
||||
fi
|
||||
if [ -n "$NFSV4LEASETIME" -a -f /proc/fs/nfsd/nfsv4leasetime ]; then
|
||||
echo "$NFSV4LEASETIME" > /proc/fs/nfsd/nfsv4leasetime
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user