summaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/sysctl_lastload
blob: 6d97561ed2c07e66821017c48d029435d5c756ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
#

# PROVIDE: sysctl_lastload
# REQUIRE: LOGIN
# BEFORE:  jail

. /etc/rc.subr

name="sysctl_lastload"
desc="Last chance to set sysctl variables that failed the first time."
start_cmd="/etc/rc.d/sysctl lastload"
stop_cmd=":"

load_rc_config $name

# doesn't make sense to run in a svcj: config setting
sysctl_lastload_svcj="NO"

run_rc_command "$1"