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"
|
2008-06-23 22:17:08 +00:00
|
|
|
start_cmd='swapon -aq'
|
2009-03-11 12:55:12 +00:00
|
|
|
stop_cmd=':'
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
load_rc_config swap
|
|
|
|
run_rc_command "$1"
|