freebsd-skq/etc/rc.d/automountd
trasz 4df6966871 The "automount" rc script should depend on "automountd", not the other
way around.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2015-09-18 06:54:52 +00:00

20 lines
269 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: automountd
# REQUIRE: DAEMON
# 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"