#!/bin/sh # # $NetBSD: mountd,v 1.3 2000/04/30 13:23:34 lukem Exp $ # # PROVIDE: mountd # REQUIRE: mountall beforemountlkm network portmap . /etc/rc.subr . /etc/rc.conf name="mountd" rcvar="nfs_server" command="/usr/sbin/${name}" required_files="/etc/exports" start_precmd="mountd_precmd" extra_commands="reload" mountd_precmd() { rm -f /var/db/mountdtab echo -n > /var/db/mountdtab return 0 } run_rc_command "$1"