]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/automountd
Merge branch 'releng/11.3' into releng-CDN/11.3
[FreeBSD/FreeBSD.git] / etc / rc.d / automountd
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
13 name="automountd"
14 desc="daemon handling autofs mount requests"
15 rcvar="autofs_enable"
16 pidfile="/var/run/${name}.pid"
17 command="/usr/sbin/${name}"
18 required_modules="autofs"
19
20 load_rc_config $name
21 run_rc_command "$1"