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

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

. /etc/rc.subr

name="swap1"
start_cmd='swapon -aq'
stop_cmd=':'

load_rc_config swap
run_rc_command "$1"
OpenPOWER on IntegriCloud