26 lines
407 B
Bash
Executable File
26 lines
407 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: mountd,v 1.2 2000/03/11 17:29:50 veego 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"
|
|
|
|
mountd_precmd()
|
|
{
|
|
rm -f /var/db/mountdtab
|
|
echo -n > /var/db/mountdtab
|
|
return 0
|
|
}
|
|
|
|
run_rc_command "$1" "reload"
|