]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/autounmountd
Merge commit '47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc'
[FreeBSD/FreeBSD.git] / libexec / rc / rc.d / autounmountd
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
13 name="autounmountd"
14 desc="daemon unmounting automounted filesystems"
15 rcvar="autofs_enable"
16 pidfile="/var/run/${name}.pid"
17 command="/usr/sbin/${name}"
18
19 load_rc_config $name
20 run_rc_command "$1"