summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/swaplate
blob: fbfae2ad9bfe02b514df1724722b425454a87159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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"
OpenPOWER on IntegriCloud