#!/bin/sh
#
# $OpenBSD: mountd,v 1.6 2015/12/26 09:55:15 ajacoutot Exp $

daemon="/sbin/mountd"

. /etc/rc.d/rc.subr

pexp="mountd: \[priv\]"
rc_stop=NO

rc_pre() {
	[ -s /etc/exports ] && grep -qv '^#' /etc/exports && \
		rm -f /var/db/mountdtab && \
		echo -n > /var/db/mountdtab
}

rc_cmd $1
