nfsuserd revision 292233
1#!/bin/sh 2# 3# $FreeBSD: stable/10/etc/rc.d/nfsuserd 292233 2015-12-14 23:09:02Z rmacklem $ 4# 5 6# PROVIDE: nfsuserd 7# REQUIRE: NETWORKING 8# KEYWORD: nojail shutdown 9 10. /etc/rc.subr 11 12name="nfsuserd" 13rcvar="nfsuserd_enable" 14command="/usr/sbin/${name}" 15sig_stop="USR1" 16 17load_rc_config $name 18start_precmd="nfsuserd_precmd" 19 20nfsuserd_precmd() 21{ 22 if checkyesno nfs_server_managegids; then 23 rc_flags="-manage-gids ${nfsuserd_flags}" 24 fi 25 return 0 26} 27 28run_rc_command "$1" 29