freebsd-skq/etc/rc.d/autounmountd
Edward Tomasz Napierala 53639aebb7 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

19 lines
247 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: autounmountd
# REQUIRE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
name="autounmountd"
rcvar="autofs_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
load_rc_config $name
run_rc_command "$1"