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"
|
|
|
|
rcvar="autofs_enable"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
required_modules="autofs"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|