1252310Shrs#!/bin/sh 2252310Shrs# 3252310Shrs# $FreeBSD: stable/11/etc/rc.d/swaplate 308865 2016-11-19 20:02:49Z jilles $ 4252310Shrs# 5252310Shrs 6252310Shrs# PROVIDE: swaplate 7252310Shrs# REQUIRE: mountlate 8252310Shrs# KEYWORD: nojail shutdown 9252310Shrs 10252310Shrs. /etc/rc.subr 11252310Shrs 12252310Shrsname="swaplate" 13298514Slmedesc="Setup late swap space" 14252310Shrsstart_cmd='/sbin/swapon -aLq' 15308865Sjillesstop_cmd='/sbin/swapoff -aLq' 16252310Shrs 17252310Shrsload_rc_config swap 18252310Shrsrun_rc_command "$1" 19