Changeset View
Changeset View
Standalone View
Standalone View
head/etc/rc.d/autounmountd
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: autounmountd | # PROVIDE: autounmountd | ||||
# REQUIRE: DAEMON | # REQUIRE: DAEMON | ||||
# KEYWORD: nojail | # KEYWORD: nojail | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="autounmountd" | name="autounmountd" | ||||
desc="daemon unmounting automounted filesystems" | |||||
rcvar="autofs_enable" | rcvar="autofs_enable" | ||||
pidfile="/var/run/${name}.pid" | pidfile="/var/run/${name}.pid" | ||||
command="/usr/sbin/${name}" | command="/usr/sbin/${name}" | ||||
load_rc_config $name | load_rc_config $name | ||||
run_rc_command "$1" | run_rc_command "$1" |