]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/autounmountd
zfs: merge openzfs/zfs@4647353c8
[FreeBSD/FreeBSD.git] / libexec / rc / rc.d / autounmountd
1 #!/bin/sh
2 #
3 #
4
5 # PROVIDE: autounmountd
6 # REQUIRE: FILESYSTEMS
7 # BEFORE: DAEMON
8 # KEYWORD: nojail
9
10 . /etc/rc.subr
11
12 name="autounmountd"
13 desc="daemon unmounting automounted filesystems"
14 rcvar="autofs_enable"
15 pidfile="/var/run/${name}.pid"
16 command="/usr/sbin/${name}"
17
18 load_rc_config $name
19 run_rc_command "$1"