1252310Shrs#!/bin/sh 2252310Shrs# 3252310Shrs# $FreeBSD: stable/10/etc/rc.d/swaplate 308886 2016-11-20 13:44:27Z jilles $ 4252310Shrs# 5252310Shrs 6252310Shrs# PROVIDE: swaplate 7252310Shrs# REQUIRE: mountlate 8252310Shrs# KEYWORD: nojail shutdown 9252310Shrs 10252310Shrs. /etc/rc.subr 11252310Shrs 12252310Shrsname="swaplate" 13252310Shrsstart_cmd='/sbin/swapon -aLq' 14308886Sjillesstop_cmd='/sbin/swapoff -aLq' 15252310Shrs 16252310Shrsload_rc_config swap 17252310Shrsrun_rc_command "$1" 18