mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
18 lines
228 B
Plaintext
18 lines
228 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
# PROVIDE: swaplate
|
||
|
# REQUIRE: mountlate
|
||
|
# KEYWORD: nojail shutdown
|
||
|
|
||
|
. /etc/rc.subr
|
||
|
|
||
|
name="swaplate"
|
||
|
start_cmd='/sbin/swapon -aLq'
|
||
|
stop_cmd='/sbin/swapoff -aq'
|
||
|
|
||
|
load_rc_config swap
|
||
|
run_rc_command "$1"
|