2f48313ab2
Add rc.d scripts that control the recently committed rpc.tlsclntd(8) and rpc.tlsservd(8) daemons. Reviewed by: gbe MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D28432
22 lines
346 B
Bash
Executable File
22 lines
346 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: tlsclntd
|
|
# REQUIRE: NETWORKING root mountcritlocal sysctl
|
|
# BEFORE: nfscbd
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="tlsclntd"
|
|
desc="NFS over TLS client side daemon"
|
|
rcvar="tlsclntd_enable"
|
|
command="/usr/sbin/rpc.${name}"
|
|
pidfile="/var/run/rpc.${name}.pid"
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|