summaryrefslogtreecommitdiff
path: root/etc/rc.d/autounmountd
blob: 2f6ecd84ba8aa0e2dc45915ad92423cb2fa5b6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: autounmountd,v 1.3 2020/01/27 08:33:24 kim Exp $
#

# PROVIDE: autounmountd
# REQUIRE: DAEMON
# KEYWORD: nojail

$_rc_subr_loaded . /etc/rc.subr

name="autounmountd"
rcvar="autofs"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"

load_rc_config $name
run_rc_command "$1"