#!/bin/sh
#
# $MidnightBSD: stable/1.2/etc/rc.d/swaplate 11636 2018-07-08 17:46:20Z laffer1 $

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

. /etc/rc.subr

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

load_rc_config swap
run_rc_command "$1"
