swap revision 135389
1#!/bin/sh
2#
3# $NetBSD: swap1,v 1.8 2002/03/24 15:52:41 lukem Exp $
4# $FreeBSD: head/etc/rc.d/swap1 135389 2004-09-17 17:58:19Z pjd $
5#
6
7# PROVIDE: localswap
8# REQUIRE: disks
9# KEYWORD: FreeBSD nojail shutdown
10
11. /etc/rc.subr
12
13name="swap1"
14start_cmd='swapon -a'
15stop_cmd='swapoff -a'
16
17load_rc_config swap
18run_rc_command "$1"
19