Home | History | Annotate | Line # | Download | only in rc.d
      1 #!/bin/sh
      2 #
      3 # $NetBSD: autounmountd,v 1.3 2020/01/27 08:33:24 kim Exp $
      4 #
      5 
      6 # PROVIDE: autounmountd
      7 # REQUIRE: DAEMON
      8 # KEYWORD: nojail
      9 
     10 $_rc_subr_loaded . /etc/rc.subr
     11 
     12 name="autounmountd"
     13 rcvar="autofs"
     14 pidfile="/var/run/${name}.pid"
     15 command="/usr/sbin/${name}"
     16 
     17 load_rc_config $name
     18 run_rc_command "$1"
     19