3 # $NetBSD: mountcritlocal,v 1.7 2002/04/29 12:29:53 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/mountcritlocal,v 1.5 2003/06/01 01:43:37 gordon Exp $
7 # PROVIDE: mountcritlocal
13 start_cmd="mountcritlocal_start"
16 mountcritlocal_start()
18 # Set up the list of network filesystem types for which mounting
19 # should be delayed until after network initialization.
20 case ${extra_netfs_types} in
24 netfs_types="${netfs_types} ${extra_netfs_types}"
28 # Mount everything except for network filesystems.
31 for i in ${netfs_types}; do
33 mount_excludes="${mount_excludes}${fstype},"
35 debug "mount -a -t no${mount_excludes%,}"
36 mount -a -t no${mount_excludes%,}
38 if [ ${err} -ne 0 ]; then
39 echo 'Mounting /etc/fstab filesystems failed; startup aborted'