Added nfs-utils-1.1.5, with support for both client/server startup.
--HG-- extra : convert_revision : 3e6b8cb896449049f9d84faa9578ef6ecf9d18b8
This commit is contained in:
parent
7fa9dc697a
commit
2d4910d9f6
4 changed files with 92 additions and 0 deletions
19
templates/nfs-utils/files/mountd
Executable file
19
templates/nfs-utils/files/mountd
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: mountd
|
||||
# REQUIRE: portmap nfslock
|
||||
|
||||
$_rc_subr_loaded . /etc/rc.subr
|
||||
|
||||
name="mountd"
|
||||
rcvar=$name
|
||||
command="/usr/sbin/rpc.mountd"
|
||||
start_precmd="mountd_precmd"
|
||||
|
||||
mountd_precmd()
|
||||
{
|
||||
/usr/sbin/exportfs -r
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
Loading…
Add table
Add a link
Reference in a new issue