Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
 
 
 
 
 
 

17 lines
271 B

#!/bin/sh
#
# $OpenBSD: mountd,v 1.4 2013/01/26 08:00:11 ajacoutot Exp $
daemon="/sbin/mountd"
. /etc/rc.d/rc.subr
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