Author: trasz
Date: Sat Nov  4 15:52:16 2017
New Revision: 325400
URL: https://svnweb.freebsd.org/changeset/base/325400

Log:
  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

Modified:
  head/etc/rc.d/automount
  head/etc/rc.d/automountd
  head/etc/rc.d/autounmountd

Modified: head/etc/rc.d/automount
==============================================================================
--- head/etc/rc.d/automount     Sat Nov  4 15:50:05 2017        (r325399)
+++ head/etc/rc.d/automount     Sat Nov  4 15:52:16 2017        (r325400)
@@ -5,6 +5,7 @@
 
 # PROVIDE: automount
 # REQUIRE: nfsclient automountd
+# BEFORE: DAEMON
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Modified: head/etc/rc.d/automountd
==============================================================================
--- head/etc/rc.d/automountd    Sat Nov  4 15:50:05 2017        (r325399)
+++ head/etc/rc.d/automountd    Sat Nov  4 15:52:16 2017        (r325400)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: automountd
-# REQUIRE: DAEMON
+# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: head/etc/rc.d/autounmountd
==============================================================================
--- head/etc/rc.d/autounmountd  Sat Nov  4 15:50:05 2017        (r325399)
+++ head/etc/rc.d/autounmountd  Sat Nov  4 15:52:16 2017        (r325400)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: autounmountd
-# REQUIRE: DAEMON
+# REQUIRE: FILESYSTEMS
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to