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