#!/bin/sh # # $OpenBSD: nfsd,v 1.6 2014/08/22 08:10:38 jsg 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