diff options
Diffstat (limited to 'libexec/rc/rc.d/automountd')
| -rwxr-xr-x | libexec/rc/rc.d/automountd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/automountd b/libexec/rc/rc.d/automountd new file mode 100755 index 000000000000..b809e9dfc8ad --- /dev/null +++ b/libexec/rc/rc.d/automountd @@ -0,0 +1,24 @@ +#!/bin/sh +# +# + +# PROVIDE: automountd +# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig +# BEFORE: DAEMON +# KEYWORD: nojail + +. /etc/rc.subr + +name="automountd" +desc="daemon handling autofs mount requests" +rcvar="autofs_enable" +pidfile="/var/run/${name}.pid" +command="/usr/sbin/${name}" +required_modules="autofs" + +load_rc_config $name + +# mounting shall not be performed in a svcj +automountd_svcj="NO" + +run_rc_command "$1" |
