]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - etc/rc.d/swap
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / etc / rc.d / swap
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: swap
7 # REQUIRE: disks
8 # KEYWORD: nojail shutdown
9
10 . /etc/rc.subr
11
12 name="swap"
13 start_cmd='/sbin/swapon -aq'
14 stop_cmd=':'
15
16 load_rc_config $name
17 run_rc_command "$1"