27 lines
483 B
Bash
Executable File
27 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: mountcritlocal,v 1.16 2020/07/22 16:50:41 martin Exp $
|
|
#
|
|
|
|
# PROVIDE: mountcritlocal
|
|
# REQUIRE: fsck
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="mountcritlocal"
|
|
start_cmd="mountcritlocal_start"
|
|
stop_cmd=":"
|
|
|
|
mountcritlocal_start()
|
|
{
|
|
# Mount critical file systems that are `local'
|
|
# (as specified in $critical_filesystems_local)
|
|
# This usually includes /var.
|
|
#
|
|
mount_critical_filesystems local || return $?
|
|
return 0
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|