]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - etc/rc.d/addswap
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / etc / rc.d / addswap
1 #!/bin/sh
2 #
3 # Add additional swap files
4 #
5 # $FreeBSD$
6 #
7
8 # PROVIDE: addswap
9 # REQUIRE: FILESYSTEMS kld
10 # BEFORE:  netif
11 # KEYWORD: nojail shutdown
12
13 . /etc/rc.subr
14
15 name="addswap"
16 start_cmd=":"
17 stop_cmd=":"
18 rcvar=
19
20 set_rcvar_obsolete swapfile
21 set_rcvar_obsolete geli_swap_flags
22
23 load_rc_config $name
24 run_rc_command "$1"