Home | History | Annotate | Line # | Download | only in rc.d
mountcritremote revision 1.8.70.1
      1       1.1    lukem #!/bin/sh
      2       1.1    lukem #
      3  1.8.70.1      tls # $NetBSD: mountcritremote,v 1.8.70.1 2014/08/10 06:49:24 tls Exp $
      4       1.1    lukem #
      5       1.1    lukem 
      6       1.1    lukem # PROVIDE: mountcritremote
      7       1.5    lukem # REQUIRE: NETWORKING root mountcritlocal
      8       1.1    lukem 
      9       1.8  mycroft $_rc_subr_loaded . /etc/rc.subr
     10       1.1    lukem 
     11       1.1    lukem name="mountcritremote"
     12       1.6    lukem start_cmd="mountcritremote_start"
     13       1.1    lukem stop_cmd=":"
     14       1.6    lukem 
     15       1.6    lukem mountcritremote_start()
     16       1.6    lukem {
     17  1.8.70.1      tls 	#	Mount critical file systems that may be `remote'.
     18       1.6    lukem 	#	(as specified in $critical_filesystems_remote)
     19       1.6    lukem 	#	This usually includes /usr.
     20       1.6    lukem 	#
     21       1.6    lukem 	mount_critical_filesystems remote
     22       1.6    lukem 
     23       1.6    lukem }
     24       1.1    lukem 
     25       1.2    lukem load_rc_config $name
     26       1.1    lukem run_rc_command "$1"
     27