xref: /freebsd/libexec/rc/rc.d/swap (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: swap
7# REQUIRE: disks
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="swap"
13desc="Setup swap space"
14start_cmd='/sbin/swapon -aq'
15stop_cmd=':'
16
17load_rc_config $name
18run_rc_command "$1"
19