summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/swap
blob: 4122e61c147a5f1bd82dc3514bcf5e8680a42139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: swap
# REQUIRE: disks
# KEYWORD: nojail shutdown

. /etc/rc.subr

name="swap"
start_cmd='/sbin/swapon -aq'
stop_cmd=':'

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud