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
|
|
|
#
|
|
|
|
|
2013-06-27 18:28:45 +00:00
|
|
|
# PROVIDE: swap
|
2001-06-16 07:16:14 +00:00
|
|
|
# REQUIRE: disks
|
2004-10-07 13:55:26 +00:00
|
|
|
# KEYWORD: nojail shutdown
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
2013-06-27 18:28:45 +00:00
|
|
|
name="swap"
|
|
|
|
start_cmd='/sbin/swapon -aq'
|
2009-03-11 12:55:12 +00:00
|
|
|
stop_cmd=':'
|
2001-06-16 07:16:14 +00:00
|
|
|
|
2013-06-27 18:28:45 +00:00
|
|
|
load_rc_config $name
|
2001-06-16 07:16:14 +00:00
|
|
|
run_rc_command "$1"
|