freebsd-skq/etc/rc.d/swap1

18 lines
199 B
Plaintext
Raw Normal View History

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