summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2018-04-16 15:54:38 +0000
committertrasz <trasz@FreeBSD.org>2018-04-16 15:54:38 +0000
commit35d8272180624de99ac9ec4b78ee2ae61fcd1ccb (patch)
tree5fb2190ab617c119e8fbf2e85254d98507ae0a23 /etc
parenta4b5d176f307edc412646e313258e453ae939107 (diff)
downloadFreeBSD-src-35d8272180624de99ac9ec4b78ee2ae61fcd1ccb.zip
FreeBSD-src-35d8272180624de99ac9ec4b78ee2ae61fcd1ccb.tar.gz
MFC r325400:
Make autofs(5) rc scripts run earlier, matching those for amd(8). This helps when you have some daemons that need to access automounted shares. PR: 221011
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/automount1
-rw-r--r--etc/rc.d/automountd3
-rw-r--r--etc/rc.d/autounmountd3
3 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.d/automount b/etc/rc.d/automount
index 7f43b45..e0789cb 100644
--- a/etc/rc.d/automount
+++ b/etc/rc.d/automount
@@ -5,6 +5,7 @@
# PROVIDE: automount
# REQUIRE: nfsclient automountd
+# BEFORE: DAEMON
# KEYWORD: nojail shutdown
. /etc/rc.subr
diff --git a/etc/rc.d/automountd b/etc/rc.d/automountd
index c772494..f9d8db8 100644
--- a/etc/rc.d/automountd
+++ b/etc/rc.d/automountd
@@ -4,7 +4,8 @@
#
# PROVIDE: automountd
-# REQUIRE: DAEMON
+# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
+# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
diff --git a/etc/rc.d/autounmountd b/etc/rc.d/autounmountd
index aa24d51..2acbe09 100644
--- a/etc/rc.d/autounmountd
+++ b/etc/rc.d/autounmountd
@@ -4,7 +4,8 @@
#
# PROVIDE: autounmountd
-# REQUIRE: DAEMON
+# REQUIRE: FILESYSTEMS
+# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
OpenPOWER on IntegriCloud