NetBSD/etc/rc.d/mountd

26 lines
407 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
2000-03-11 20:29:50 +03:00
# $NetBSD: mountd,v 1.2 2000/03/11 17:29:50 veego Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: mountd
2000-03-11 20:29:50 +03:00
# REQUIRE: mountall beforemountlkm network portmap
2000-03-10 14:53:23 +03:00
. /etc/rc.subr
. /etc/rc.conf
name="mountd"
rcvar="nfs_server"
command="/usr/sbin/${name}"
required_files="/etc/exports"
start_precmd="mountd_precmd"
mountd_precmd()
{
rm -f /var/db/mountdtab
echo -n > /var/db/mountdtab
return 0
}
run_rc_command "$1" "reload"