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