2014-08-17 09:44:42 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: automountd
|
2015-09-18 06:54:52 +00:00
|
|
|
# REQUIRE: DAEMON
|
2014-08-17 09:44:42 +00:00
|
|
|
# KEYWORD: nojail
|
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="automountd"
|
2016-04-23 16:10:54 +00:00
|
|
|
desc="daemon handling autofs mount requests"
|
2014-08-17 09:44:42 +00:00
|
|
|
rcvar="autofs_enable"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
required_modules="autofs"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|