1#!/bin/sh 2# 3# $FreeBSD: releng/10.3/etc/rc.d/swaplate 252310 2013-06-27 18:28:45Z hrs $ 4# 5 6# PROVIDE: swaplate 7# REQUIRE: mountlate 8# KEYWORD: nojail shutdown 9 10. /etc/rc.subr 11 12name="swaplate" 13start_cmd='/sbin/swapon -aLq' 14stop_cmd='/sbin/swapoff -aq' 15 16load_rc_config swap 17run_rc_command "$1" 18