mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
RC script for idmapd(8), defaulting to off.
This commit is contained in:
parent
f5f03635ac
commit
715e675c5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163378
@ -242,6 +242,7 @@ nfs_client_enable="NO" # This host is an NFS client (or NO).
|
||||
nfs_access_cache="60" # Client cache timeout in seconds
|
||||
nfs_server_enable="NO" # This host is an NFS server (or NO).
|
||||
nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled).
|
||||
idmapd_enable="NO" # Run the NFS4 id mapper (YES/NO).
|
||||
mountd_enable="NO" # Run mountd (or NO).
|
||||
mountd_flags="-r" # Flags to mountd (if NFS server enabled).
|
||||
weak_mountd_authentication="NO" # Allow non-root mount requests to be served.
|
||||
|
@ -15,7 +15,7 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \
|
||||
gbde geli geli2 \
|
||||
hcsecd \
|
||||
hostapd hostname \
|
||||
inetd initrandom \
|
||||
idmapd inetd initrandom \
|
||||
ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \
|
||||
ipnat ipsec ipxrouted isdnd \
|
||||
jail \
|
||||
|
18
etc/rc.d/idmapd
Normal file
18
etc/rc.d/idmapd
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: idmapd
|
||||
# REQUIRE: rpcbind
|
||||
# KEYWORD: nojail
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="idmapd"
|
||||
|
||||
load_rc_config $name
|
||||
rcvar="idmapd_enable"
|
||||
command="${idmapd:-/sbin/${name}}"
|
||||
eval ${name}_flags=\"${idmapd_flags}\"
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user