Home | History | Annotate | Line # | Download | only in rc.d
autounmountd revision 1.1.4.1
      1 #!/bin/sh
      2 #
      3 # $NetBSD: autounmountd,v 1.1.4.1 2020/04/08 14:03:57 martin Exp $
      4 #
      5 
      6 # PROVIDE: autounmountd
      7 # REQUIRE: DAEMON
      8 # KEYWORD: nojail
      9 
     10 . /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