@%@UCRWARNING=# @%@

# Number of servers to start up
@!@
nfsdopt = configRegistry.get('nfs/nfsd/services', '8')
if configRegistry.is_false("nfs/nfsd/nfs4"):
    nfsdopt += " --no-nfs-version 4"

print('RPCNFSDCOUNT="%s"' % nfsdopt)
@!@

# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0

# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
@!@
if configRegistry.get('nfs/ports') == 'static':
    print('RPCMOUNTDOPTS="--manage-gids --port 32767"')
else:
    print('RPCMOUNTDOPTS="--manage-gids"')
@!@

# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=

# Options for rpc.svcgssd.
RPCSVCGSSDOPTS=
