This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466
19 lines
258 B
Bash
Executable File
19 lines
258 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: swaplate
|
|
# REQUIRE: mountlate
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="swaplate"
|
|
desc="Setup late swap space"
|
|
start_cmd='/sbin/swapon -aLq'
|
|
stop_cmd='/sbin/swapoff -aLq'
|
|
|
|
load_rc_config swap
|
|
run_rc_command "$1"
|