xref: /freebsd/libexec/rc/rc.d/automountd (revision 61b07f8aa52844b21637ac264ea134c1aef48cb7)
1#!/bin/sh
2#
3#
4
5# PROVIDE: automountd
6# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
7# BEFORE: DAEMON
8# KEYWORD: nojail
9
10. /etc/rc.subr
11
12name="automountd"
13desc="daemon handling autofs mount requests"
14rcvar="autofs_enable"
15pidfile="/var/run/${name}.pid"
16command="/usr/sbin/${name}"
17required_modules="autofs"
18
19load_rc_config $name
20
21# mounting shall not be performed in a svcj
22automountd_svcj="NO"
23
24run_rc_command "$1"
25