xref: /freebsd/libexec/rc/rc.d/swaplate (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: swaplate
7# REQUIRE: mountlate
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="swaplate"
13desc="Setup late swap space"
14start_cmd='/sbin/swapon -aLq'
15stop_cmd='/sbin/swapoff -aLq'
16
17load_rc_config swap
18run_rc_command "$1"
19