xref: /freebsd/libexec/rc/rc.d/autounmountd (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: autounmountd
7# REQUIRE: FILESYSTEMS
8# BEFORE: DAEMON
9# KEYWORD: nojail
10
11. /etc/rc.subr
12
13name="autounmountd"
14desc="daemon unmounting automounted filesystems"
15rcvar="autofs_enable"
16pidfile="/var/run/${name}.pid"
17command="/usr/sbin/${name}"
18
19load_rc_config $name
20run_rc_command "$1"
21