Home | History | Annotate | Line # | Download | only in rc.d
mountcritremote revision 1.4
      1  1.1  lukem #!/bin/sh
      2  1.1  lukem #
      3  1.4  lukem # $NetBSD: mountcritremote,v 1.4 2001/02/28 17:19:42 lukem Exp $
      4  1.1  lukem #
      5  1.1  lukem 
      6  1.1  lukem # PROVIDE: mountcritremote
      7  1.3  lukem # REQUIRE: NETWORK root mountcritlocal
      8  1.1  lukem 
      9  1.1  lukem . /etc/rc.subr
     10  1.1  lukem 
     11  1.4  lukem #	Mount critical filesystems that may be remote.
     12  1.3  lukem #	(as specified in $critical_filesystems)
     13  1.4  lukem #	This usually includes /usr.
     14  1.3  lukem #
     15  1.1  lukem name="mountcritremote"
     16  1.1  lukem start_cmd="mount_critical_filesystems remote"
     17  1.1  lukem stop_cmd=":"
     18  1.1  lukem 
     19  1.2  lukem load_rc_config $name
     20  1.1  lukem run_rc_command "$1"
     21