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