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