]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - etc/rc.d/swaplate
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 start_cmd='/sbin/swapon -aLq'
14 stop_cmd='/sbin/swapoff -aq'
15
16 load_rc_config swap
17 run_rc_command "$1"