]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/swaplate
Document SA-19:09, SA-19:11.
[FreeBSD/FreeBSD.git] / etc / rc.d / swaplate
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: swaplate
7 # REQUIRE: mountlate
8 # KEYWORD: nojail shutdown
9
10 . /etc/rc.subr
11
12 name="swaplate"
13 desc="Setup late swap space"
14 start_cmd='/sbin/swapon -aLq'
15 stop_cmd='/sbin/swapoff -aLq'
16
17 load_rc_config swap
18 run_rc_command "$1"