xref: /freebsd/libexec/rc/rc.d/swaplate (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1#!/bin/sh
2#
3#
4
5# PROVIDE: swaplate
6# REQUIRE: mountlate
7# KEYWORD: nojail shutdown
8
9. /etc/rc.subr
10
11name="swaplate"
12desc="Setup late swap space"
13start_cmd='/sbin/swapon -aLq'
14stop_cmd='/sbin/swapoff -aLq'
15
16load_rc_config swap
17
18# doesn't make sense to run in a svcj: privileged operations
19swaplate_svcj="NO"
20
21run_rc_command "$1"
22