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
This commit is contained in:
Edward Tomasz Napierala 2017-11-04 15:52:16 +00:00
parent 0dfac7ee08
commit 35dd951c8c
3 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,7 @@
# PROVIDE: automount
# REQUIRE: nfsclient automountd
# BEFORE: DAEMON
# KEYWORD: nojail shutdown
. /etc/rc.subr

View File

@ -4,7 +4,8 @@
#
# PROVIDE: automountd
# REQUIRE: DAEMON
# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr

View File

@ -4,7 +4,8 @@
#
# PROVIDE: autounmountd
# REQUIRE: DAEMON
# REQUIRE: FILESYSTEMS
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr