From 35dd951c8cbda73c319f802eeb3d884519198bdf Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Sat, 4 Nov 2017 15:52:16 +0000 Subject: [PATCH] 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 MFC after: 2 weeks --- etc/rc.d/automount | 1 + etc/rc.d/automountd | 3 ++- etc/rc.d/autounmountd | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/automount b/etc/rc.d/automount index 7f43b4531125..e0789cb8d050 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 c772494633f1..f9d8db8b2f37 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 aa24d516ffff..2acbe09139ca 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