swap1 revision 1.3
1#!/bin/sh 2# 3# $NetBSD: swap1,v 1.3 2000/04/26 05:13:51 thorpej Exp $ 4# 5 6# PROVIDE: localswap 7# REQUIRE: disks 8 9. /etc/rc.subr 10. /etc/rc.conf 11 12name="swap1" 13 14# Add all block-type swap devices; these might be necessary 15# during disk checks. 16# 17start_cmd='swapctl -A -t blk' 18 19# Remove all block-type swap devices 20# 21stop_cmd="swapctl -U -t blk" 22 23run_rc_command "$1" 24