forked from pool/nfs-utils
Accepting request 157565 from home:deadpoint:branches:Base:System
Updated nfsserver.init and sysconfig.nfs to add support for setting rpc.mountd options in addition to the port. While it's possible to set these by setting the port and adding them after, this is a nicer implementation. OBS-URL: https://build.opensuse.org/request/show/157565 OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=83
This commit is contained in:
parent
5c03c3baa4
commit
634cea2d92
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 20:04:55 UTC 2013 - darin@darins.net
|
||||
|
||||
- nfsserver.init,sysconfig.nfs - Add support for setting rpc.mountd
|
||||
options.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 00:08:55 UTC 2012 - nfbrown@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nfs-utils
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -215,9 +215,9 @@ case "$1" in
|
||||
# rpc.mountd
|
||||
echo -n " mountd"
|
||||
if [ -n "$MOUNTD_PORT" ] ; then
|
||||
startproc /usr/sbin/rpc.mountd -p $MOUNTD_PORT $VERSION_PARAMS
|
||||
startproc /usr/sbin/rpc.mountd -p $MOUNTD_PORT $MOUNTD_OPTIONS $VERSION_PARAMS
|
||||
else
|
||||
startproc /usr/sbin/rpc.mountd $VERSION_PARAMS
|
||||
startproc /usr/sbin/rpc.mountd $MOUNTD_OPTIONS $VERSION_PARAMS
|
||||
fi || {
|
||||
rc_status -v
|
||||
rc_exit
|
||||
|
@ -132,3 +132,13 @@ SVCGSSD_OPTIONS=""
|
||||
# This setting allows extra options to be specified for NFSD, such as
|
||||
# -H <shared_hostname> in a high-availability configuration.
|
||||
NFSD_OPTIONS=""
|
||||
|
||||
## Path: Network/File systems/NFS server
|
||||
## Description: Extra options for mountd
|
||||
## Type: string
|
||||
## Default: ""
|
||||
#
|
||||
# This setting allows extra options to be specified for rpc.mountd,
|
||||
# such as --manage-gids.
|
||||
MOUNTD_OPTIONS=""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user