summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/automountd
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-08-17 09:44:42 +0000
committertrasz <trasz@FreeBSD.org>2014-08-17 09:44:42 +0000
commitcac9beab7d53f0c37ce2a2a1b893be59028928f4 (patch)
treeb1803eddeeac8277c4ac48d69f5a735564939289 /etc/rc.d/automountd
parent9bd03869ff37c33e97817d979b3c3039fde1520d (diff)
downloadFreeBSD-src-cac9beab7d53f0c37ce2a2a1b893be59028928f4.zip
FreeBSD-src-cac9beab7d53f0c37ce2a2a1b893be59028928f4.tar.gz
Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc/rc.d/automountd')
-rw-r--r--etc/rc.d/automountd19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/rc.d/automountd b/etc/rc.d/automountd
new file mode 100644
index 0000000..6d74665
--- /dev/null
+++ b/etc/rc.d/automountd
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: automountd
+# REQUIRE: automount
+# KEYWORD: nojail
+
+. /etc/rc.subr
+
+name="automountd"
+rcvar="autofs_enable"
+pidfile="/var/run/${name}.pid"
+command="/usr/sbin/${name}"
+required_modules="autofs"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud