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