aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/autounmountd
blob: 1d8b3bfa354f8910de6c70ded3c31bd7ef34f12d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
#

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

. /etc/rc.subr

name="autounmountd"
desc="daemon unmounting automounted filesystems"
rcvar="autofs_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"

load_rc_config $name

# doesn't make sense to run in a svcj: nojail keyword
autounmountd_svcj="NO"

run_rc_command "$1"