Index: head/etc/rc.d/automount =================================================================== --- head/etc/rc.d/automount (revision 325399) +++ head/etc/rc.d/automount (revision 325400) @@ -1,31 +1,32 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: automount # REQUIRE: nfsclient automountd +# BEFORE: DAEMON # KEYWORD: nojail shutdown . /etc/rc.subr name="automount" rcvar="autofs_enable" start_cmd="automount_start" stop_cmd="automount_stop" required_modules="autofs" automount_start() { /usr/sbin/automount ${automount_flags} } automount_stop() { /sbin/umount -At autofs } load_rc_config $name run_rc_command "$1" Index: head/etc/rc.d/automountd =================================================================== --- head/etc/rc.d/automountd (revision 325399) +++ head/etc/rc.d/automountd (revision 325400) @@ -1,20 +1,21 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: automountd -# REQUIRE: DAEMON +# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig +# BEFORE: DAEMON # KEYWORD: nojail . /etc/rc.subr name="automountd" desc="daemon handling autofs mount requests" rcvar="autofs_enable" pidfile="/var/run/${name}.pid" command="/usr/sbin/${name}" required_modules="autofs" load_rc_config $name run_rc_command "$1" Index: head/etc/rc.d/autounmountd =================================================================== --- head/etc/rc.d/autounmountd (revision 325399) +++ head/etc/rc.d/autounmountd (revision 325400) @@ -1,19 +1,20 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: autounmountd -# REQUIRE: DAEMON +# REQUIRE: FILESYSTEMS +# BEFORE: DAEMON # KEYWORD: nojail . /etc/rc.subr name="autounmountd" desc="daemon unmounting automounted filesystems" rcvar="autofs_enable" pidfile="/var/run/${name}.pid" command="/usr/sbin/${name}" load_rc_config $name run_rc_command "$1"