void-packages/templates/nfs-utils/files/nfsd
Juan RP 2d4910d9f6 Added nfs-utils-1.1.5, with support for both client/server startup.
--HG--
extra : convert_revision : 3e6b8cb896449049f9d84faa9578ef6ecf9d18b8
2009-03-14 02:16:07 +01:00

19 lines
262 B
Bash
Executable file

#!/bin/sh
#
# PROVIDE: nfsd
# REQUIRE: mountd
$_rc_subr_loaded . /etc/rc.subr
name="nfsd"
rcvar=$name
command="/usr/sbin/rpc.nfsd"
start_postcmd="nfsd_postcmd"
nfsd_postcmd()
{
/usr/sbin/sm-notify ${smnotify_args}
}
load_rc_config $name
run_rc_command "$1"