]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/init/rc.d/swap
UPDATING: Add note about efifb support and serial output
[FreeBSD/FreeBSD.git] / sbin / init / 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 desc="Setup swap space"
14 start_cmd='/sbin/swapon -aq'
15 stop_cmd=':'
16
17 load_rc_config $name
18 run_rc_command "$1"