summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/swaplate
blob: 64fa98900a13069f47ed2dd6ab930eac2e11e1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: swaplate
# REQUIRE: mountlate
# KEYWORD: nojail shutdown

. /etc/rc.subr

name="swaplate"
start_cmd='/sbin/swapon -aLq'
stop_cmd='/sbin/swapoff -aq'

load_rc_config swap
run_rc_command "$1"
OpenPOWER on IntegriCloud