mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
d04ecb5f44
Now gmirror use shutdown hooks to mark mirrors as clean on shutdown, so this is not needed anymore.
19 lines
253 B
Bash
Executable File
19 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: swap1,v 1.8 2002/03/24 15:52:41 lukem Exp $
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: localswap
|
|
# REQUIRE: disks
|
|
# KEYWORD: nojail shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="swap1"
|
|
start_cmd='swapon -a'
|
|
stop_cmd=':'
|
|
|
|
load_rc_config swap
|
|
run_rc_command "$1"
|