2001-06-16 07:16:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-06-13 22:14:37 +00:00
|
|
|
# $FreeBSD$
|
2001-06-16 07:16:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: localswap
|
|
|
|
# REQUIRE: disks
|
2004-10-07 13:55:26 +00:00
|
|
|
# KEYWORD: nojail shutdown
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="swap1"
|
2004-01-17 10:59:43 +00:00
|
|
|
start_cmd='swapon -a'
|
2004-11-05 12:38:27 +00:00
|
|
|
stop_cmd=':'
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
load_rc_config swap
|
|
|
|
run_rc_command "$1"
|