freebsd-nq/etc/rc.d/swap

18 lines
200 B
Plaintext
Raw Normal View History

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