Changeset View
Changeset View
Standalone View
Standalone View
head/etc/rc.d/mdconfig2
Show All 28 Lines | |||||
# PROVIDE: mdconfig2 | # PROVIDE: mdconfig2 | ||||
# REQUIRE: mountcritremote | # REQUIRE: mountcritremote | ||||
# BEFORE: SERVERS | # BEFORE: SERVERS | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="mdconfig2" | name="mdconfig2" | ||||
desc="Create and control memory disks" | |||||
stop_cmd="mdconfig2_stop" | stop_cmd="mdconfig2_stop" | ||||
start_cmd="mdconfig2_start" | start_cmd="mdconfig2_start" | ||||
start_precmd='[ -n "${_mdconfig2_list}" ]' | start_precmd='[ -n "${_mdconfig2_list}" ]' | ||||
required_modules="geom_md:g_md" | required_modules="geom_md:g_md" | ||||
is_readonly() | is_readonly() | ||||
{ | { | ||||
local _mp _ret | local _mp _ret | ||||
▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines |