xref: /freebsd/libexec/rc/rc.d/autounmountd (revision f99f0ee14e3af81c23150a6a340259ca8a33d01a)
1#!/bin/sh
2#
3#
4
5# PROVIDE: autounmountd
6# REQUIRE: FILESYSTEMS
7# BEFORE: DAEMON
8# KEYWORD: nojail
9
10. /etc/rc.subr
11
12name="autounmountd"
13desc="daemon unmounting automounted filesystems"
14rcvar="autofs_enable"
15pidfile="/var/run/${name}.pid"
16command="/usr/sbin/${name}"
17
18load_rc_config $name
19
20# doesn't make sense to run in a svcj: nojail keyword
21autounmountd_svcj="NO"
22
23run_rc_command "$1"
24