This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466
19 lines
224 B
Bash
Executable File
19 lines
224 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: swap
|
|
# REQUIRE: disks
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="swap"
|
|
desc="Setup swap space"
|
|
start_cmd='/sbin/swapon -aq'
|
|
stop_cmd=':'
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|