opnsense-src/libexec/rc/rc.d/sysctl_lastload
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

17 lines
279 B
Bash
Executable file

#!/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
run_rc_command "$1"