Home | History | Annotate | Line # | Download | only in rc.d
mountcritlocal revision 1.16
      1 #!/bin/sh
      2 #
      3 # $NetBSD: mountcritlocal,v 1.16 2020/07/22 16:50:41 martin Exp $
      4 #
      5 
      6 # PROVIDE: mountcritlocal
      7 # REQUIRE: fsck
      8 
      9 $_rc_subr_loaded . /etc/rc.subr
     10 
     11 name="mountcritlocal"
     12 start_cmd="mountcritlocal_start"
     13 stop_cmd=":"
     14 
     15 mountcritlocal_start()
     16 {
     17 	#	Mount critical file systems that are `local'
     18 	#	(as specified in $critical_filesystems_local)
     19 	#	This usually includes /var.
     20 	#
     21 	mount_critical_filesystems local || return $?
     22 	return 0
     23 }
     24 
     25 load_rc_config $name
     26 run_rc_command "$1"
     27