#!/bin/ksh # # $OpenBSD: nfsd,v 1.8 2018/01/11 21:09:26 rpe Exp $ daemon="/sbin/nfsd" daemon_flags="-tun 4" . /etc/rc.d/rc.subr pexp="(${daemon}( |$)|nfsd: (master|server)$)" rc_reload=NO rc_pre() { [[ -s /etc/exports ]] && grep -qv '^#' /etc/exports } rc_cmd $1