This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466
21 lines
318 B
Bash
21 lines
318 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# 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
|
|
run_rc_command "$1"
|