freebsd-skq/etc/rc.d/swap

19 lines
224 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: swap
# REQUIRE: disks
# KEYWORD: nojail shutdown
. /etc/rc.subr
name="swap"
desc="Setup swap space"
start_cmd='/sbin/swapon -aq'
2009-03-11 12:55:12 +00:00
stop_cmd=':'
load_rc_config $name
run_rc_command "$1"