Home | History | Annotate | Line # | Download | only in rc.d
      1 #!/bin/sh
      2 #
      3 # $NetBSD: nfsd,v 1.7 2004/10/12 14:51:03 lukem Exp $
      4 #
      5 
      6 # PROVIDE: nfsd
      7 # REQUIRE: rpcbind mountd
      8 
      9 $_rc_subr_loaded . /etc/rc.subr
     10 
     11 name="nfsd"
     12 rcvar="nfs_server"
     13 command="/usr/sbin/${name}"
     14 required_vars="mountd rpcbind"
     15 
     16 load_rc_config $name
     17 load_rc_config_var rpcbind rpcbind
     18 load_rc_config_var mountd mountd
     19 run_rc_command "$1"
     20