mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
18 lines
199 B
Bash
Executable File
18 lines
199 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: localswap
|
|
# REQUIRE: disks
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="swap1"
|
|
start_cmd='swapon -aq'
|
|
stop_cmd=':'
|
|
|
|
load_rc_config swap
|
|
run_rc_command "$1"
|